Click or drag to resize
DigitalRuneRigidBodyScale Property
Gets or sets the scale.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public Vector3F Scale { 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

IGeometricObjectScale
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