#[repr(C)]pub struct hkpKeyframedRigidMotionVtbl {Show 28 fields
pub CxxDrop: fn(this: &mut hkpKeyframedRigidMotion),
pub GetClassType: fn(this: &hkpKeyframedRigidMotion) -> Option<&hkClass>,
pub CalcContentStatistics: fn(this: &hkpKeyframedRigidMotion, collector: &mut hkStatisticsCollector, cls: Option<&hkClass>),
pub SetMass: fn(this: &mut hkpKeyframedRigidMotion, a_mass: f32),
pub SetMassInv: fn(this: &mut hkpKeyframedRigidMotion, a_massInv: f32),
pub GetInertiaLocal: fn(this: &hkpKeyframedRigidMotion, a_inertiaOut: &mut hkMatrix3),
pub GetInertiaWorld: fn(this: &hkpKeyframedRigidMotion, a_inertiaOut: &mut hkMatrix3),
pub SetInertiaLocal: fn(this: &mut hkpKeyframedRigidMotion, a_inertia: &hkMatrix3),
pub SetInertiaInvLocal: fn(this: &mut hkpKeyframedRigidMotion, a_inertiaInv: &hkMatrix3),
pub GetInertiaInvLocal: fn(this: &hkpKeyframedRigidMotion, a_inertiaInvOut: &mut hkMatrix3),
pub GetInertiaInvWorld: fn(this: &hkpKeyframedRigidMotion, a_inertiaInvOut: &mut hkMatrix3),
pub SetCenterOfMassInLocal: fn(this: &mut hkpKeyframedRigidMotion, a_centerOfMass: hkVector4),
pub SetPosition: fn(this: &mut hkpKeyframedRigidMotion, a_position: hkVector4),
pub SetRotation: fn(this: &mut hkpKeyframedRigidMotion, a_rotation: hkQuaternion),
pub SetPositionAndRotation: fn(this: &mut hkpKeyframedRigidMotion, a_position: hkVector4, a_rotation: hkQuaternion),
pub SetTransform: fn(this: &mut hkpKeyframedRigidMotion, a_transform: hkTransform),
pub SetLinearVelocity: fn(this: &mut hkpKeyframedRigidMotion, a_newVel: hkVector4),
pub SetAngularVelocity: fn(this: &mut hkpKeyframedRigidMotion, a_newVel: hkVector4),
pub GetProjectedPointVelocity: fn(this: &hkpKeyframedRigidMotion, a_point: hkVector4, a_normal: hkVector4, a_velOut: &mut f32, a_invVirtMassOut: &mut f32),
pub ApplyLinearImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4),
pub ApplyPointImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4, a_point: hkVector4),
pub ApplyAngularImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4),
pub ApplyForce: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_force: hkVector4),
pub ApplyForceAtPoint: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_force: hkVector4, a_point: hkVector4),
pub ApplyTorque: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_torque: hkVector4),
pub GetMotionStateAndVelocitiesAndDeactivationType: fn(this: &hkpKeyframedRigidMotion, a_motionOut: &mut hkpMotion),
pub SetStepPosition: fn(this: &mut hkpKeyframedRigidMotion, a_position: f32, a_timestep: f32),
pub SetStoredMotion: fn(this: &mut hkpKeyframedRigidMotion, a_savedMotion: Option<&mut hkpMaxSizeMotion>),
}
Expand description
Virtual function table for hkpKeyframedRigidMotion
.
Fields§
§CxxDrop: fn(this: &mut hkpKeyframedRigidMotion)
Destructor function pointer.
GetClassType: fn(this: &hkpKeyframedRigidMotion) -> Option<&hkClass>
Gets the class type (inherited from hkReferencedObject).
CalcContentStatistics: fn(this: &hkpKeyframedRigidMotion, collector: &mut hkStatisticsCollector, cls: Option<&hkClass>)
Calculates content statistics (inherited from hkReferencedObject).
SetMass: fn(this: &mut hkpKeyframedRigidMotion, a_mass: f32)
Sets the mass (no-op for keyframed motion).
SetMassInv: fn(this: &mut hkpKeyframedRigidMotion, a_massInv: f32)
Sets the inverse mass (no-op for keyframed motion).
GetInertiaLocal: fn(this: &hkpKeyframedRigidMotion, a_inertiaOut: &mut hkMatrix3)
Gets the local inertia tensor.
GetInertiaWorld: fn(this: &hkpKeyframedRigidMotion, a_inertiaOut: &mut hkMatrix3)
Gets the world inertia tensor.
SetInertiaLocal: fn(this: &mut hkpKeyframedRigidMotion, a_inertia: &hkMatrix3)
Sets the local inertia tensor (no-op for keyframed motion).
SetInertiaInvLocal: fn(this: &mut hkpKeyframedRigidMotion, a_inertiaInv: &hkMatrix3)
Sets the local inverse inertia tensor (no-op for keyframed motion).
GetInertiaInvLocal: fn(this: &hkpKeyframedRigidMotion, a_inertiaInvOut: &mut hkMatrix3)
Gets the local inverse inertia tensor.
GetInertiaInvWorld: fn(this: &hkpKeyframedRigidMotion, a_inertiaInvOut: &mut hkMatrix3)
Gets the world inverse inertia tensor.
SetCenterOfMassInLocal: fn(this: &mut hkpKeyframedRigidMotion, a_centerOfMass: hkVector4)
Sets the center of mass in local space (inherited from hkpMotion).
SetPosition: fn(this: &mut hkpKeyframedRigidMotion, a_position: hkVector4)
Sets the position (inherited from hkpMotion).
SetRotation: fn(this: &mut hkpKeyframedRigidMotion, a_rotation: hkQuaternion)
Sets the rotation (inherited from hkpMotion).
SetPositionAndRotation: fn(this: &mut hkpKeyframedRigidMotion, a_position: hkVector4, a_rotation: hkQuaternion)
Sets both position and rotation (inherited from hkpMotion).
SetTransform: fn(this: &mut hkpKeyframedRigidMotion, a_transform: hkTransform)
Sets the transform (inherited from hkpMotion).
SetLinearVelocity: fn(this: &mut hkpKeyframedRigidMotion, a_newVel: hkVector4)
Sets the linear velocity (inherited from hkpMotion).
SetAngularVelocity: fn(this: &mut hkpKeyframedRigidMotion, a_newVel: hkVector4)
Sets the angular velocity (inherited from hkpMotion).
GetProjectedPointVelocity: fn(this: &hkpKeyframedRigidMotion, a_point: hkVector4, a_normal: hkVector4, a_velOut: &mut f32, a_invVirtMassOut: &mut f32)
Gets the projected point velocity.
ApplyLinearImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4)
Applies a linear impulse (no-op for keyframed motion).
ApplyPointImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4, a_point: hkVector4)
Applies a point impulse (no-op for keyframed motion).
ApplyAngularImpulse: fn(this: &mut hkpKeyframedRigidMotion, a_impulse: hkVector4)
Applies an angular impulse (no-op for keyframed motion).
ApplyForce: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_force: hkVector4)
Applies a force (no-op for keyframed motion).
ApplyForceAtPoint: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_force: hkVector4, a_point: hkVector4)
Applies a force at a point (no-op for keyframed motion).
ApplyTorque: fn(this: &mut hkpKeyframedRigidMotion, a_deltaTime: f32, a_torque: hkVector4)
Applies a torque (no-op for keyframed motion).
GetMotionStateAndVelocitiesAndDeactivationType: fn(this: &hkpKeyframedRigidMotion, a_motionOut: &mut hkpMotion)
Gets motion state, velocities, and deactivation type (inherited from hkpMotion).
SetStepPosition: fn(this: &mut hkpKeyframedRigidMotion, a_position: f32, a_timestep: f32)
Sets the step position (virtual function).
SetStoredMotion: fn(this: &mut hkpKeyframedRigidMotion, a_savedMotion: Option<&mut hkpMaxSizeMotion>)
Sets the stored motion (virtual function).