Click or drag to resize
DigitalRuneIGeometricObjectScale Property
Gets the scale.

Namespace: DigitalRune.Geometry
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
Vector3F Scale { get; }

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".
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