| RigidBodyCreateInstanceCore Method |
When implemented in a derived class, creates a new instance of the
RigidBody derived class.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax protected virtual RigidBody CreateInstanceCore()
Protected Overridable Function CreateInstanceCore As RigidBody
protected:
virtual RigidBody^ CreateInstanceCore()
abstract CreateInstanceCore : unit -> RigidBody
override CreateInstanceCore : unit -> RigidBody
Return Value
Type:
RigidBodyThe 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