Unravel Engine C++ Reference
Loading...
Searching...
No Matches
inspector_script.cpp File Reference
#include "inspector_script.h"
#include "editor/imgui/integration/imgui.h"
#include "entt/core/any.hpp"
#include "imgui/imgui.h"
#include "inspectors.h"
#include <engine/assets/asset_manager.h>
#include <dotnetpp/dotnetpp.h>
#include <engine/scripting/ecs/systems/script_interop.h>
#include <engine/scripting/ecs/systems/script_system.h>
#include <type_traits>
#include <functional>
#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>
#include <stack>

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...
 

Namespaces

namespace  unravel
 

Functions

auto unravel::get_mono_type_stack () -> std::stack< dotnet::type > &
 
void unravel::push_mono_type (const dotnet::type &type)
 
void unravel::pop_mono_type ()
 
auto unravel::get_current_mono_type () -> dotnet::type
 
auto unravel::find_attribute (const std::string &name, const std::vector< dotnet::object > &attribs) -> dotnet::object
 
auto unravel::get_header (const dotnet::field &field) -> std::string
 
auto unravel::get_header (const dotnet::property &property) -> std::string
 
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, dotnet::object_pinned_ptr pinned_ptr, 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/properties 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.