C# Class GLSharp.Universe.Node

Afficher le fichier Open project: colin-dumitru/GLSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
Animation NodeAnimation
ChildAdded GLSharp.Core.Event
ChildRemoved GLSharp.Core.Event
Children Node>.Dictionary
ChildrenList List
ComponentAdded GLSharp.Core.Event
ComponentRemoved GLSharp.Core.Event
Controller ControllerBase
Id String
LocalRotation Vector3
LocalScale Vector3
LocalTranslation Vector3
Parent Node
TransformChanged GLSharp.Core.Event

Méthodes publiques

Méthode Description
AddChild ( Node child ) : void
AddComponent ( Component component ) : void
BindController ( ControllerBase controller ) : void
FindChild ( String id, System.Boolean deep ) : Node
GetComponent ( String type ) : Component
InvalidateWorldTransformation ( ) : void
Node ( ) : System
RemoveChild ( Node child ) : System.Boolean
RemoveComponent ( Component component ) : void
Rotate ( float angle, Vector3 axis ) : void
RotateX ( float angle ) : void
RotateY ( float angle ) : void
RotateZ ( float angle ) : void
Scale ( Vector3 scale ) : void
Translate ( Vector3 distance ) : void
Translate3 ( float x, float y, float z ) : void

Private Methods

Méthode Description
UpdateWorldTransformation ( ) : void

Method Details

AddChild() public méthode

public AddChild ( Node child ) : void
child Node
Résultat void

AddComponent() public méthode

public AddComponent ( Component component ) : void
component Component
Résultat void

BindController() public méthode

public BindController ( ControllerBase controller ) : void
controller ControllerBase
Résultat void

FindChild() public méthode

public FindChild ( String id, System.Boolean deep ) : Node
id String
deep System.Boolean
Résultat Node

GetComponent() public méthode

public GetComponent ( String type ) : Component
type String
Résultat Component

InvalidateWorldTransformation() public méthode

public InvalidateWorldTransformation ( ) : void
Résultat void

Node() public méthode

public Node ( ) : System
Résultat System

RemoveChild() public méthode

public RemoveChild ( Node child ) : System.Boolean
child Node
Résultat System.Boolean

RemoveComponent() public méthode

public RemoveComponent ( Component component ) : void
component Component
Résultat void

Rotate() public méthode

public Rotate ( float angle, Vector3 axis ) : void
angle float
axis Vector3
Résultat void

RotateX() public méthode

public RotateX ( float angle ) : void
angle float
Résultat void

RotateY() public méthode

public RotateY ( float angle ) : void
angle float
Résultat void

RotateZ() public méthode

public RotateZ ( float angle ) : void
angle float
Résultat void

Scale() public méthode

public Scale ( Vector3 scale ) : void
scale Vector3
Résultat void

Translate() public méthode

public Translate ( Vector3 distance ) : void
distance Vector3
Résultat void

Translate3() public méthode

public Translate3 ( float x, float y, float z ) : void
x float
y float
z float
Résultat void

Property Details

Animation public_oe property

Animation object.
public NodeAnimation,GLSharp.Universe Animation
Résultat NodeAnimation

ChildAdded public_oe property

Called when a child node is added.
public Event,GLSharp.Core ChildAdded
Résultat GLSharp.Core.Event

ChildRemoved public_oe property

Called when a child node is removed.
public Event,GLSharp.Core ChildRemoved
Résultat GLSharp.Core.Event

Children public_oe property

Child nodes.
public Dictionary Children
Résultat Node>.Dictionary

ChildrenList public_oe property

Child Nodes.
public List ChildrenList
Résultat List

ComponentAdded public_oe property

Called when a component is added.
public Event,GLSharp.Core ComponentAdded
Résultat GLSharp.Core.Event

ComponentRemoved public_oe property

Called when a component is removed.
public Event,GLSharp.Core ComponentRemoved
Résultat GLSharp.Core.Event

Controller public_oe property

Controller
public ControllerBase,GLSharp.Universe Controller
Résultat ControllerBase

Id public_oe property

The name of the node.
public String Id
Résultat String

LocalRotation public_oe property

Local Rotation.
public Vector3 LocalRotation
Résultat Vector3

LocalScale public_oe property

Local Scale.
public Vector3 LocalScale
Résultat Vector3

LocalTranslation public_oe property

Local translation.
public Vector3 LocalTranslation
Résultat Vector3

Parent public_oe property

Parent node.
public Node,GLSharp.Universe Parent
Résultat Node

TransformChanged public_oe property

Called when the node transformation has changed.
public Event,GLSharp.Core TransformChanged
Résultat GLSharp.Core.Event