| GeometricObjectScale Property |
Gets or sets the scale.
Namespace: DigitalRune.GeometryAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public Vector3F Scale { get; set; }
Public Property Scale As Vector3F
Get
Set
public:
virtual property Vector3F Scale {
Vector3F get () sealed;
void set (Vector3F value) sealed;
}
abstract Scale : Vector3F with get, set
override Scale : Vector3F with get, set
Property Value
Type:
Vector3F
The scale factors for the dimensions x, y and z. The default value is (1, 1, 1), which means
"no scaling".
Implements
IGeometricObjectScaleRemarks
This value is a scale factor that scales the Shape of this geometric object.
The scale can even be negative to mirror an object.
Changing this value does not actually change any values in the Shape instance.
Collision algorithms and anyone who uses this geometric object must use the shape and apply
the scale factor as appropriate. The scale is automatically applied in the property
Aabb.
Changing this property raises the ShapeChanged event.
See Also