Click or drag to resize
DigitalRuneRigidBodyCreateInstanceCore Method
When implemented in a derived class, creates a new instance of the RigidBody derived class.

Namespace: DigitalRune.Physics
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
protected virtual RigidBody CreateInstanceCore()

Return Value

Type: RigidBody
The new instance.
Remarks

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone method whenever a new instance of the RigidBody is created.

Notes to Inheritors: Every RigidBody derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

See Also