Class Actor
An Actor represents a locical entity within the scene. Actors have a component hirarchy.
Inheritance
System.Object
Actor
Implements
System.IDisposable
Assembly: AxEngine.dll
Syntax
public class Actor : SceneObject, IDisposable
Constructors
|
Improve this Doc
View Source
Actor()
Declaration
|
Improve this Doc
View Source
Actor(ActorComponent)
Declaration
public Actor(ActorComponent component)
Parameters
Properties
|
Improve this Doc
View Source
Components
Declaration
public IList<ActorComponent> Components { get; }
Property Value
|
Improve this Doc
View Source
IsAttached
Declaration
public bool IsAttached { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RootComponent
Declaration
public SceneComponent RootComponent { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddComponent(ActorComponent)
Declaration
public void AddComponent(ActorComponent component)
Parameters
|
Improve this Doc
View Source
GetComponent<T>()
Declaration
public T GetComponent<T>()
where T : ActorComponent
Returns
Type Parameters
|
Improve this Doc
View Source
GetComponent<T>(String)
Declaration
public T GetComponent<T>(string name)
where T : ActorComponent
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type Parameters
|
Improve this Doc
View Source
GetComponents<T>(String)
Declaration
public T[] GetComponents<T>(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type Parameters
|
Improve this Doc
View Source
Declaration
public virtual void OnScreenMouseDown(MouseButtonArgs e)
Parameters
|
Improve this Doc
View Source
OnScreenMouseMove(MouseMoveArgs)
Declaration
public virtual void OnScreenMouseMove(MouseMoveArgs e)
Parameters
|
Improve this Doc
View Source
Declaration
public virtual void OnScreenMouseUp(MouseButtonArgs e)
Parameters
|
Improve this Doc
View Source
OnScreenResize(ScreenResizeEventArgs)
Declaration
public virtual void OnScreenResize(ScreenResizeEventArgs e)
Parameters
|
Improve this Doc
View Source
RemoveComponent(ActorComponent)
Declaration
public void RemoveComponent(ActorComponent component)
Parameters
|
Improve this Doc
View Source
UpdateFrame()
Declaration
public virtual void UpdateFrame()
|
Improve this Doc
View Source
Visit<T>(Action<T>, Func<T, Boolean>)
Declaration
public override void Visit<T>(Action<T> action, Func<T, bool> visitChilds = null)
where T : SceneObject
Parameters
Type |
Name |
Description |
System.Action<T> |
action |
|
System.Func<T, System.Boolean> |
visitChilds |
|
Type Parameters
Overrides
Aximo.Engine.SceneObject.Visit<T>(System.Action<T>, System.Func<T, System.Boolean>)
Implements
System.IDisposable