C# Class TrianglesInSpace.Rendering.Scene

Inheritance: IDisposable
Mostrar archivo Open project: anthony-martin/Triangles-in-space Class Usage Examples

Public Methods

Method Description
Add ( string name, string shape ) : void
Add ( string name, string pathId, string shape, string materialName = "triangle/white" ) : void
Dispose ( ) : void
OnDeselected ( DeselectedObjectMessage message ) : void
OnSelected ( SelectedObjectMessage message ) : void
Remove ( string name ) : void
Scene ( IBus bus, SceneManager sceneManager ) : System
UpdatePosition ( ulong time ) : void

Private Methods

Method Description
DefaultMotion ( ) : IEnumerable
OnAdd ( AddObjectMessage message ) : void
UpdateMotion ( PathMessage message ) : void

Method Details

Add() public method

public Add ( string name, string shape ) : void
name string
shape string
return void

Add() public method

public Add ( string name, string pathId, string shape, string materialName = "triangle/white" ) : void
name string
pathId string
shape string
materialName string
return void

Dispose() public method

public Dispose ( ) : void
return void

OnDeselected() public method

public OnDeselected ( DeselectedObjectMessage message ) : void
message TrianglesInSpace.Messages.DeselectedObjectMessage
return void

OnSelected() public method

public OnSelected ( SelectedObjectMessage message ) : void
message TrianglesInSpace.Messages.SelectedObjectMessage
return void

Remove() public method

public Remove ( string name ) : void
name string
return void

Scene() public method

public Scene ( IBus bus, SceneManager sceneManager ) : System
bus IBus
sceneManager SceneManager
return System

UpdatePosition() public method

public UpdatePosition ( ulong time ) : void
time ulong
return void