Controller that controls the scale of the spatial attached to it.
The object will appear to be the same size as the camera draws away
or to the object. Smaller scale distances means a larger scale.
Declaration Syntax
C# |
public sealed class ConstantSizeController : ISpatialController
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ConstantSizeController(Camera, Single) |
Creates a new constant size controller.
|
|
Equals(Object) |
(Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
IsEnabled |
Gets or sets if this controller is enabled.
|
|
ScaleDistance |
Gets or sets the scale distance. Smaller values mean larger scale.
|
|
ToString()()()() |
(Inherited from Object.) |
|
Update(GameTime, Spatial) |
Update the controller.
|
Inheritance Hierarchy
Object | |
ConstantSizeController |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)