Gets the scale.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)

Syntax

C#
Vector3F Scale { get; }
Visual Basic
ReadOnly Property Scale As Vector3F
	Get
Visual C++
property Vector3F Scale {
	Vector3F get ();
}

Field Value

The scale factors for the dimensions x, y and z. The default value is (1, 1, 1), which means "no scaling".

Remarks

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