3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
Loading...
Searching...
No Matches
Engine3DRadSpace.Internal Namespace Reference

Classes

struct  AssetUUIDReader
 HACK - Since it is impossible to obtain a vtable function without a instance, this exists. DO NOT use constructors using this argument, as they create invalid objects! More...
class  CsCompiler
 Provides C# source code compilation and execution capabilities for the game engine. Designed to work with nethost for dynamic script compilation and execution.
struct  Point
struct  Rectangle
struct  RectangleF
class  ScriptManager
 Manages compiled scripts and provides entry points for the native C++ host.

Functions

void E3DRSP_CONTENT_ASSETS_EXPORT RegisterDefaultTypes (Content::ContentManager *manager)
 Registers the default asset types with the content manager.
E3DRSP_OBJECTS_EXPORT Objects::Gizmos::IGizmo * GizmoOf (const Reflection::UUID &uuid)
 Returns the gizmo associated with the given UUID, or nullptr if no such gizmo exists.
template<Reflection::ReflectableObject O>
Objects::Gizmos::IGizmo * GizmoOf (const O *object)
 Returns the gizmo associated with the given reflectable object, or nullptr if no such gizmo exists. If no gizmo exists for the object, a new gizmo is created and associated with the object's UUID.
E3DRSP_OBJECTS_EXPORT void UnloadGizmos ()
 Frees all gizmos and clears the internal gizmo storage.
void E3DRSP_OBJECTS_IMPL_EXPORT LoadDefaultObjects ()
E3DRSP_OBJECTS_IMPL_EXPORT Reflection::ReflectedObject * GetReflDataFromUUID (const Reflection::UUID &uuid)
E3DRSP_OBJREG_EXPORT std::vector< Engine3DRadSpace::Reflection::ReflectedObject * > & GetInternalObjectsList ()
 Returns the singleton list of registered object types. This function guarantees a single shared instance across all DLLs.

Detailed Description


            !!NOTICE!!

This is not meant to be used by the user, but by the engine itself.
This header only contains a forward reference to a function that loads the default 3DRadSpace objects (Skinmesh, Camera, etc).

Function Documentation

◆ GetInternalObjectsList()

std::vector< Engine3DRadSpace::Reflection::ReflectedObject * > & Engine3DRadSpace::Internal::GetInternalObjectsList ( )

Returns the singleton list of registered object types. This function guarantees a single shared instance across all DLLs.

◆ GetReflDataFromUUID()

ReflectedObject * Engine3DRadSpace::Internal::GetReflDataFromUUID ( const Reflection::UUID & uuid)

◆ GizmoOf() [1/2]

template<Reflection::ReflectableObject O>
Objects::Gizmos::IGizmo * Engine3DRadSpace::Internal::GizmoOf ( const O * object)

Returns the gizmo associated with the given reflectable object, or nullptr if no such gizmo exists. If no gizmo exists for the object, a new gizmo is created and associated with the object's UUID.

Template Parameters
OThe type of the reflectable object.
Parameters
objectPointer to the reflectable object.
Returns
Pointer to the gizmo, or nullptr if no such gizmo exists.

◆ GizmoOf() [2/2]

IGizmo * Engine3DRadSpace::Internal::GizmoOf ( const Reflection::UUID & uuid)

Returns the gizmo associated with the given UUID, or nullptr if no such gizmo exists.

Parameters
uuidThe UUID of the object whose gizmo is to be retrieved.
Returns
Pointer to the gizmo, or nullptr if no such gizmo exists.

◆ LoadDefaultObjects()

void Engine3DRadSpace::Internal::LoadDefaultObjects ( )

◆ RegisterDefaultTypes()

void E3DRSP_CONTENT_ASSETS_EXPORT Engine3DRadSpace::Internal::RegisterDefaultTypes ( Content::ContentManager * manager)

Registers the default asset types with the content manager.

Parameters
managerPointer to the content manager.

◆ UnloadGizmos()

void Engine3DRadSpace::Internal::UnloadGizmos ( )

Frees all gizmos and clears the internal gizmo storage.