C# Class GLSharp.Universe.Node

Mostra file Open project: colin-dumitru/GLSharp Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method Description
UpdateWorldTransformation ( ) : void

Method Details

AddChild() public method

public AddChild ( Node child ) : void
child Node
return void

AddComponent() public method

public AddComponent ( Component component ) : void
component Component
return void

BindController() public method

public BindController ( ControllerBase controller ) : void
controller ControllerBase
return void

FindChild() public method

public FindChild ( String id, System.Boolean deep ) : Node
id String
deep System.Boolean
return Node

GetComponent() public method

public GetComponent ( String type ) : Component
type String
return Component

InvalidateWorldTransformation() public method

public InvalidateWorldTransformation ( ) : void
return void

Node() public method

public Node ( ) : System
return System

RemoveChild() public method

public RemoveChild ( Node child ) : System.Boolean
child Node
return System.Boolean

RemoveComponent() public method

public RemoveComponent ( Component component ) : void
component Component
return void

Rotate() public method

public Rotate ( float angle, Vector3 axis ) : void
angle float
axis Vector3
return void

RotateX() public method

public RotateX ( float angle ) : void
angle float
return void

RotateY() public method

public RotateY ( float angle ) : void
angle float
return void

RotateZ() public method

public RotateZ ( float angle ) : void
angle float
return void

Scale() public method

public Scale ( Vector3 scale ) : void
scale Vector3
return void

Translate() public method

public Translate ( Vector3 distance ) : void
distance Vector3
return void

Translate3() public method

public Translate3 ( float x, float y, float z ) : void
x float
y float
z float
return void

Property Details

Animation public_oe property

Animation object.
public NodeAnimation,GLSharp.Universe Animation
return NodeAnimation

ChildAdded public_oe property

Called when a child node is added.
public Event,GLSharp.Core ChildAdded
return GLSharp.Core.Event

ChildRemoved public_oe property

Called when a child node is removed.
public Event,GLSharp.Core ChildRemoved
return GLSharp.Core.Event

Children public_oe property

Child nodes.
public Dictionary Children
return Node>.Dictionary

ChildrenList public_oe property

Child Nodes.
public List ChildrenList
return List

ComponentAdded public_oe property

Called when a component is added.
public Event,GLSharp.Core ComponentAdded
return GLSharp.Core.Event

ComponentRemoved public_oe property

Called when a component is removed.
public Event,GLSharp.Core ComponentRemoved
return GLSharp.Core.Event

Controller public_oe property

Controller
public ControllerBase,GLSharp.Universe Controller
return ControllerBase

Id public_oe property

The name of the node.
public String Id
return String

LocalRotation public_oe property

Local Rotation.
public Vector3 LocalRotation
return Vector3

LocalScale public_oe property

Local Scale.
public Vector3 LocalScale
return Vector3

LocalTranslation public_oe property

Local translation.
public Vector3 LocalTranslation
return Vector3

Parent public_oe property

Parent node.
public Node,GLSharp.Universe Parent
return Node

TransformChanged public_oe property

Called when the node transformation has changed.
public Event,GLSharp.Core TransformChanged
return GLSharp.Core.Event