Tesla Graphics Engine Documentation (January 2012)
ConstantSizeController Class
TeslaTesla.Scene.ExtensionConstantSizeController
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(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)