Unravel Engine C++ Reference
Loading...
Searching...
No Matches
inspector_script.cpp File Reference
#include "inspector_script.h"
#include "inspectors.h"
#include <engine/assets/asset_manager.h>
#include <engine/scripting/ecs/systems/script_interop.h>
#include <monopp/mono_field_invoker.h>
#include <monopp/mono_property_invoker.h>
#include <core/string_utils/utils.h>
#include <graphics/texture.h>
#include <engine/layers/layer_mask.h>
#include <engine/rendering/font.h>
#include <engine/rendering/material.h>
#include <engine/rendering/mesh.h>
#include <engine/animation/animation.h>
#include <engine/audio/audio_clip.h>
#include <engine/ecs/prefab.h>
#include <engine/physics/physics_material.h>

Go to the source code of this file.

Classes

struct  unravel::mono_field_proxy< T >
 Proxy wrapper for mono field access that integrates with meta_any_proxy system. More...
 
struct  unravel::mono_property_proxy< T >
 Proxy wrapper for mono property access that integrates with meta_any_proxy system. More...
 
struct  unravel::mono_inspector< T >
 
struct  unravel::mono_inspector_enum< T >
 
struct  unravel::mono_inspector< entt::handle >
 
struct  unravel::mono_inspector< asset_handle< T > >
 
struct  unravel::mono_inspector_collection
 Inspector for collections (arrays and List<T>) with add/remove support. More...
 
struct  unravel::mono_inspector< mono::mono_array< T > >
 

Namespaces

namespace  unravel
 

Functions

auto unravel::find_attribute (const std::string &name, const std::vector< mono::mono_object > &attribs) -> mono::mono_object
 
auto unravel::is_serializable_type (const mono::mono_type &type) -> bool
 Checks if a mono type has the System.Serializable attribute.
 
auto unravel::is_list_type (const mono::mono_type &type) -> bool
 Checks if a mono type is a List<T>
 
auto unravel::get_collection_element_type (const mono::mono_type &type) -> mono::mono_type
 Gets the element type of a collection (array or List<T>)
 
template<typename Invoker >
auto unravel::make_nested_object_proxy (const meta_any_proxy &obj_proxy, const Invoker &mutable_field) -> meta_any_proxy
 Creates a proxy for a nested serializable object field.
 
template<typename Invoker >
auto unravel::make_nested_property_proxy (const meta_any_proxy &obj_proxy, const Invoker &mutable_property) -> meta_any_proxy
 Creates a proxy for a nested serializable object property.
 
auto unravel::inspect_serializable_object (rtti::context &ctx, mono::mono_object &obj, const meta_any_proxy &obj_proxy, const std::string &name, const var_info &info) -> inspect_result
 Recursively inspects a serializable object using the main inspector.
 
template<typename T , typename ProxyType >
auto unravel::make_script_proxy (const meta_any_proxy &obj_proxy, const ProxyType &script_proxy) -> meta_any_proxy
 Creates a meta_any_proxy that can access script fields through the proxy wrapper.
 
template<typename Invoker >
auto unravel::make_entity_handle_proxy (const meta_any_proxy &obj_proxy, const Invoker &mutable_field, rtti::context &ctx) -> meta_any_proxy
 Creates a specialized proxy for entity handle fields in script objects.
 
template<typename T , typename Invoker >
auto unravel::make_asset_handle_proxy (const meta_any_proxy &obj_proxy, const Invoker &mutable_field, rtti::context &ctx) -> meta_any_proxy
 Creates a specialized proxy for asset handle fields in script objects.
 
template<typename T >
auto unravel::make_array_element_proxy (const meta_any_proxy &array_proxy, size_t index, const std::string &element_name) -> meta_any_proxy
 Creates a specialized proxy for individual array elements in script objects.