Class ScriptingObjectReference
The scripting object reference.
Inheritance
ScriptingObjectReference
Inherited Members
ScriptingObjectReference
ScriptingObjectReference
Assembly: FlaxEngine.dll
File: Engine/Scripting/ManagedCLR/MUtils.h
Syntax
public class ScriptingObjectReference<T> : public ScriptingObjectReferenceBase
Type Parameters
T
|
Constructors
~ScriptingObjectReference()
Finalizes an instance of the ScriptingObjectReference class.
Declaration
public ~ScriptingObjectReference()
ScriptingObjectReference()
Initializes a new instance of the ScriptingObjectReference class.
Declaration
public ScriptingObjectReference()
ScriptingObjectReference(const ScriptingObjectReference& other)
Initializes a new instance of the ScriptingObjectReference class.
Declaration
public ScriptingObjectReference(const ScriptingObjectReference& other)
Parameters
ScriptingObjectReference
other
The other property. |
ScriptingObjectReference(T* obj)
Initializes a new instance of the ScriptingObjectReference class.
Declaration
public ScriptingObjectReference(T* obj)
Parameters
T
obj
The object to link. |
Methods
As()
Gets the object as a given type (static cast).
Declaration
public U* As() const
Returns
U
|
Type Parameters
typename U
|
Get()
Gets the object pointer.
Declaration
public T* Get() const
Returns
T
|
operator bool()
Implicit conversion to boolean value.
Declaration
public operator bool() const
Returns
FORCE_INLINE
|
operator T*()
Implicit conversion to the object.
Declaration
public operator T*() const
Returns
FORCE_INLINE
|
operator!=(const ScriptingObjectReference& other)
Declaration
public bool operator!=(const ScriptingObjectReference& other) const
Parameters
ScriptingObjectReference
other
|
Returns
bool
|
operator!=(T* other)
Declaration
public bool operator!=(T* other) const
Parameters
T
other
|
Returns
bool
|
operator=(const Guid& id)
Declaration
public ScriptingObjectReference operator=(const Guid& id)
Parameters
Guid
id
|
Returns
ScriptingObjectReference
|
operator=(const ScriptingObjectReference& other)
Declaration
public ScriptingObjectReference operator=(const ScriptingObjectReference& other)
Parameters
ScriptingObjectReference
other
|
Returns
ScriptingObjectReference
|
operator=(T* other)
Declaration
public ScriptingObjectReference operator=(T* other)
Parameters
T
other
|
Returns
ScriptingObjectReference
|
operator==(const ScriptingObjectReference& other)
Declaration
public bool operator==(const ScriptingObjectReference& other) const
Parameters
ScriptingObjectReference
other
|
Returns
bool
|
operator==(T* other)
Declaration
public bool operator==(T* other) const
Parameters
T
other
|
Returns
bool
|
operator->()
Object accessor.
Declaration
public T* operator->() const
Returns
T
|