|
Matrix | GetLocalTransform () |
|
void | SetLocalTransform (Matrix matrix) |
|
Matrix | GetGlobalTransform () |
|
Vector2 | GetLocalPosition2D () |
|
void | SetLocalPosition (float x, float y) |
|
void | SetLocalPosition (Vector3 localPosition) |
|
void | SetLocalPosition (Vector2 localPosition) |
|
Vector3 | GetLocalPosition () |
|
Vector3 | GetGlobalPosition () |
|
Vector2 | GetGlobalPosition2D () |
|
Node? | GetParent () |
|
IEnumerable< Node > | GetChildren () |
|
IEnumerable< Behaviour > | GetAllBehaviours () |
|
Behaviour? | GetBehaviour< T > () |
| This will return the FIRST component of type T.
|
|
IEnumerable< Behaviour > | GetAllBehaviours< T > () |
| This will return ALL components of type T.
|
|
override void | SetEnabled (bool state) |
|
delegate void | EnabledChanged (bool state) |
|
bool | HasTag (string tag) |
|
|
readonly HashSet< string > | Tags = new() |
|
bool | Enabled = true [get] |
|
string | Name = "Generic Object" [get, protected set] |
|
EnabledChanged? | EnabledChangedEvent |
|
◆ GetAllBehaviours< T >()
IEnumerable< Behaviour > GREngine.Core.System.Node.GetAllBehaviours< T > |
( |
| ) |
|
|
inline |
This will return ALL components of type T.
- Template Parameters
-
- Returns
◆ GetBehaviour< T >()
Behaviour? GREngine.Core.System.Node.GetBehaviour< T > |
( |
| ) |
|
|
inline |
This will return the FIRST component of type T.
- Template Parameters
-
- Returns
◆ SetEnabled()
override void GREngine.Core.System.Node.SetEnabled |
( |
bool |
state | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file:
- GREngine.Core/GREngine.Core.System/SceneGraph/Node.cs