Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
BaseResourceObject Interface Reference
Inheritance diagram for BaseResourceObject:
[legend]

Public Member Functions

proto external BaseContainer ToBaseContainer ()
 
proto external IEntitySource ToEntitySource ()
 
proto external MeshObject ToMeshObject ()
 
proto external AnimationSource ToAnimation ()
 
proto external VObject ToVObject ()
 
proto external void Release (bool flush=false)
 Release object.
 
proto external ResourceName GetResourceName ()
 Returns name of visual object.
 
- Public Member Functions inherited from pointer
proto string ToString ()
 

Member Function Documentation

◆ GetResourceName()

proto external ResourceName BaseResourceObject.GetResourceName ( )

Returns name of visual object.

◆ Release()

proto external void BaseResourceObject.Release ( bool  flush = false)

Release object.

When there are not any other references, object is stored into cache and ready to be victed if necessary.

Parameters
flushIf force is true, the object is flushed from cache after releasing

◆ ToAnimation()

proto external AnimationSource BaseResourceObject.ToAnimation ( )

◆ ToBaseContainer()

proto external BaseContainer BaseResourceObject.ToBaseContainer ( )

◆ ToEntitySource()

proto external IEntitySource BaseResourceObject.ToEntitySource ( )

◆ ToMeshObject()

proto external MeshObject BaseResourceObject.ToMeshObject ( )

◆ ToVObject()

proto external VObject BaseResourceObject.ToVObject ( )

The documentation for this interface was generated from the following file: