ScriptMesh Class Reference

Description

Interop class between C++ & CLR for Mesh.

Inherits TScriptResource< ScriptMesh, Mesh >.

Static methods

static MonoObject * createInstance ()
 Creates an empty, uninitialized managed instance of the resource interop object. More...
 
- Static methods inherited from ScriptObject< ScriptMesh, ScriptResourceBase >
static ScriptMeshtoNative (MonoObject *managedInstance)
 Converts a managed instance into a specific interop object. More...
 
static const ScriptMetagetMetaData ()
 Returns the meta-data containing class and method information for the managed type. More...
 
static void _initMetaData ()
 Initializes the meta-data containing class and method information for the managed type. More...
 

Additional Inherited Members

- Methods inherited from TScriptResource< ScriptMesh, Mesh >
HResource getGenericHandle () const override
 Returns a generic handle to the internal wrapped resource. More...
 
void setResource (const HResource &resource) override
 Sets the internal resource this object wraps. More...
 
const ResourceHandle< Mesh > & getHandle () const
 Returns a handle to the internal wrapped resource. More...
 
- Methods inherited from ScriptObject< ScriptMesh, ScriptResourceBase >
 ScriptObject (MonoObject *instance)
 
void _clearManagedInstance ()
 Clears any managed instance references from the interop object. More...
 
void _restoreManagedInstance ()
 Allows persistent objects to restore their managed instances after assembly reload. More...
 
virtual MonoObject * _createManagedInstance (bool construct)
 Creates a new managed instance of the type wrapped by this interop object. More...
 
- Methods inherited from ScriptResourceBase
ScriptObjectBackup beginRefresh () override
 Called before assembly reload starts to give the object a chance to back up its data. More...
 
- Methods inherited from PersistentScriptObjectBase
 PersistentScriptObjectBase (MonoObject *instance)
 
virtual bool isPersistent () const override
 Should the interop object persist through assembly reload. More...
 
- Methods inherited from ScriptObjectBase
 ScriptObjectBase (MonoObject *instance)
 
MonoObject * getManagedInstance () const
 Gets the managed object this interop object represents. More...
 

Method documentation

static MonoObject* createInstance ( )
static

Creates an empty, uninitialized managed instance of the resource interop object.