 | RigidBodyCloneCore Method |
Makes the instance a clone (deep copy) of the specified
RigidBody.
Namespace: DigitalRune.PhysicsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntaxprotected virtual void CloneCore(
RigidBody source
)
Protected Overridable Sub CloneCore (
source As RigidBody
)
protected:
virtual void CloneCore(
RigidBody^ source
)
abstract CloneCore :
source : RigidBody -> unit
override CloneCore :
source : RigidBody -> unit
Parameters
- source
- Type: DigitalRune.PhysicsRigidBody
The object to clone.
RemarksNotes to Inheritors: Every
RigidBody derived class must
implement this method. A typical implementation is to call
base.CloneCore(this) to
copy all properties of the base class and then copy all properties of the derived class.
See Also