Struct hkpWorldCinfo

Source
pub struct hkpWorldCinfo {
Show 59 fields pub __ptr: Option<Pointer>, pub parent: hkReferencedObject, pub m_gravity: Vector4, pub m_broadPhaseQuerySize: i32, pub m_contactRestingVelocity: f32, pub m_broadPhaseBorderBehaviour: BroadPhaseBorderBehaviour, pub m_mtPostponeAndSortBroadPhaseBorderCallbacks: bool, pub m_broadPhaseWorldAabb: hkAabb, pub m_useKdTree: bool, pub m_useMultipleTree: bool, pub m_treeUpdateType: TreeUpdateType, pub m_autoUpdateKdTree: bool, pub m_collisionTolerance: f32, pub m_collisionFilter: Pointer, pub m_convexListFilter: Pointer, pub m_expectedMaxLinearVelocity: f32, pub m_sizeOfToiEventQueue: i32, pub m_expectedMinPsiDeltaTime: f32, pub m_memoryWatchDog: Pointer, pub m_broadPhaseNumMarkers: i32, pub m_contactPointGeneration: ContactPointGeneration, pub m_allowToSkipConfirmedCallbacks: bool, pub m_useHybridBroadphase: bool, pub m_solverTau: f32, pub m_solverDamp: f32, pub m_solverIterations: i32, pub m_solverMicrosteps: i32, pub m_maxConstraintViolation: f32, pub m_forceCoherentConstraintOrderingInSolver: bool, pub m_snapCollisionToConvexEdgeThreshold: f32, pub m_snapCollisionToConcaveEdgeThreshold: f32, pub m_enableToiWeldRejection: bool, pub m_enableDeprecatedWelding: bool, pub m_iterativeLinearCastEarlyOutDistance: f32, pub m_iterativeLinearCastMaxIterations: i32, pub m_deactivationNumInactiveFramesSelectFlag0: u8, pub m_deactivationNumInactiveFramesSelectFlag1: u8, pub m_deactivationIntegrateCounter: u8, pub m_shouldActivateOnRigidBodyTransformChange: bool, pub m_deactivationReferenceDistance: f32, pub m_toiCollisionResponseRotateNormal: f32, pub m_maxSectorsPerMidphaseCollideTask: i32, pub m_maxSectorsPerNarrowphaseCollideTask: i32, pub m_processToisMultithreaded: bool, pub m_maxEntriesPerToiMidphaseCollideTask: i32, pub m_maxEntriesPerToiNarrowphaseCollideTask: i32, pub m_maxNumToiCollisionPairsSinglethreaded: i32, pub m_numToisTillAllowedPenetrationSimplifiedToi: f32, pub m_numToisTillAllowedPenetrationToi: f32, pub m_numToisTillAllowedPenetrationToiHigher: f32, pub m_numToisTillAllowedPenetrationToiForced: f32, pub m_enableDeactivation: bool, pub m_simulationType: SimulationType, pub m_enableSimulationIslands: bool, pub m_minDesiredIslandSize: u32, pub m_processActionsInSingleThread: bool, pub m_allowIntegrationOfIslandsWithoutConstraintsInASeparateJob: bool, pub m_frameMarkerPsiSnap: f32, pub m_fireCollisionCallbacks: bool,
}
Expand description

§C++ Info

  • name: hkpWorldCinfo
  • version: 11
  • signature: 0xa5255445
  • size: 240(x86)/256(x86_64)
  • vtable: true

Fields§

§__ptr: Option<Pointer>

§Unique index for this class

  • Represents a pointer on XML (<hkobject name="#0001"></hkobject>)
  • Option::None => This class is class in field.(<hkobject></hkobject>)

§Note

Not present in the binary & Not exist actual C++ field.

§parent: hkReferencedObject

Alternative to C++ class inheritance.

§m_gravity: Vector4

§C++ Info

  • name: gravity(ctype: hkVector4)
  • offset: 16(x86)/ 16(x86_64)
  • type_size: 16(x86)/ 16(x86_64)
§m_broadPhaseQuerySize: i32

§C++ Info

  • name: broadPhaseQuerySize(ctype: hkInt32)
  • offset: 32(x86)/ 32(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_contactRestingVelocity: f32

§C++ Info

  • name: contactRestingVelocity(ctype: hkReal)
  • offset: 36(x86)/ 36(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_broadPhaseBorderBehaviour: BroadPhaseBorderBehaviour

§C++ Info

  • name: broadPhaseBorderBehaviour(ctype: enum BroadPhaseBorderBehaviour)
  • offset: 40(x86)/ 40(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_mtPostponeAndSortBroadPhaseBorderCallbacks: bool

§C++ Info

  • name: mtPostponeAndSortBroadPhaseBorderCallbacks(ctype: hkBool)
  • offset: 41(x86)/ 41(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_broadPhaseWorldAabb: hkAabb

§C++ Info

  • name: broadPhaseWorldAabb(ctype: struct hkAabb)
  • offset: 48(x86)/ 48(x86_64)
  • type_size: 32(x86)/ 32(x86_64)
§m_useKdTree: bool

§C++ Info

  • name: useKdTree(ctype: hkBool)
  • offset: 80(x86)/ 80(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_useMultipleTree: bool

§C++ Info

  • name: useMultipleTree(ctype: hkBool)
  • offset: 81(x86)/ 81(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_treeUpdateType: TreeUpdateType

§C++ Info

  • name: treeUpdateType(ctype: enum TreeUpdateType)
  • offset: 82(x86)/ 82(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_autoUpdateKdTree: bool

§C++ Info

  • name: autoUpdateKdTree(ctype: hkBool)
  • offset: 83(x86)/ 83(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_collisionTolerance: f32

§C++ Info

  • name: collisionTolerance(ctype: hkReal)
  • offset: 84(x86)/ 84(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_collisionFilter: Pointer

§C++ Info

  • name: collisionFilter(ctype: struct hkpCollisionFilter*)
  • offset: 88(x86)/ 88(x86_64)
  • type_size: 4(x86)/ 8(x86_64)
§m_convexListFilter: Pointer

§C++ Info

  • name: convexListFilter(ctype: struct hkpConvexListFilter*)
  • offset: 92(x86)/ 96(x86_64)
  • type_size: 4(x86)/ 8(x86_64)
§m_expectedMaxLinearVelocity: f32

§C++ Info

  • name: expectedMaxLinearVelocity(ctype: hkReal)
  • offset: 96(x86)/104(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_sizeOfToiEventQueue: i32

§C++ Info

  • name: sizeOfToiEventQueue(ctype: hkInt32)
  • offset: 100(x86)/108(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_expectedMinPsiDeltaTime: f32

§C++ Info

  • name: expectedMinPsiDeltaTime(ctype: hkReal)
  • offset: 104(x86)/112(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_memoryWatchDog: Pointer

§C++ Info

  • name: memoryWatchDog(ctype: struct hkWorldMemoryAvailableWatchDog*)
  • offset: 108(x86)/120(x86_64)
  • type_size: 4(x86)/ 8(x86_64)
§m_broadPhaseNumMarkers: i32

§C++ Info

  • name: broadPhaseNumMarkers(ctype: hkInt32)
  • offset: 112(x86)/128(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_contactPointGeneration: ContactPointGeneration

§C++ Info

  • name: contactPointGeneration(ctype: enum ContactPointGeneration)
  • offset: 116(x86)/132(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_allowToSkipConfirmedCallbacks: bool

§C++ Info

  • name: allowToSkipConfirmedCallbacks(ctype: hkBool)
  • offset: 117(x86)/133(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_useHybridBroadphase: bool

§C++ Info

  • name: useHybridBroadphase(ctype: hkBool)
  • offset: 118(x86)/134(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_solverTau: f32

§C++ Info

  • name: solverTau(ctype: hkReal)
  • offset: 120(x86)/136(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_solverDamp: f32

§C++ Info

  • name: solverDamp(ctype: hkReal)
  • offset: 124(x86)/140(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_solverIterations: i32

§C++ Info

  • name: solverIterations(ctype: hkInt32)
  • offset: 128(x86)/144(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_solverMicrosteps: i32

§C++ Info

  • name: solverMicrosteps(ctype: hkInt32)
  • offset: 132(x86)/148(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_maxConstraintViolation: f32

§C++ Info

  • name: maxConstraintViolation(ctype: hkReal)
  • offset: 136(x86)/152(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_forceCoherentConstraintOrderingInSolver: bool

§C++ Info

  • name: forceCoherentConstraintOrderingInSolver(ctype: hkBool)
  • offset: 140(x86)/156(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_snapCollisionToConvexEdgeThreshold: f32

§C++ Info

  • name: snapCollisionToConvexEdgeThreshold(ctype: hkReal)
  • offset: 144(x86)/160(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_snapCollisionToConcaveEdgeThreshold: f32

§C++ Info

  • name: snapCollisionToConcaveEdgeThreshold(ctype: hkReal)
  • offset: 148(x86)/164(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_enableToiWeldRejection: bool

§C++ Info

  • name: enableToiWeldRejection(ctype: hkBool)
  • offset: 152(x86)/168(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_enableDeprecatedWelding: bool

§C++ Info

  • name: enableDeprecatedWelding(ctype: hkBool)
  • offset: 153(x86)/169(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_iterativeLinearCastEarlyOutDistance: f32

§C++ Info

  • name: iterativeLinearCastEarlyOutDistance(ctype: hkReal)
  • offset: 156(x86)/172(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_iterativeLinearCastMaxIterations: i32

§C++ Info

  • name: iterativeLinearCastMaxIterations(ctype: hkInt32)
  • offset: 160(x86)/176(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_deactivationNumInactiveFramesSelectFlag0: u8

§C++ Info

  • name: deactivationNumInactiveFramesSelectFlag0(ctype: hkUint8)
  • offset: 164(x86)/180(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_deactivationNumInactiveFramesSelectFlag1: u8

§C++ Info

  • name: deactivationNumInactiveFramesSelectFlag1(ctype: hkUint8)
  • offset: 165(x86)/181(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_deactivationIntegrateCounter: u8

§C++ Info

  • name: deactivationIntegrateCounter(ctype: hkUint8)
  • offset: 166(x86)/182(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_shouldActivateOnRigidBodyTransformChange: bool

§C++ Info

  • name: shouldActivateOnRigidBodyTransformChange(ctype: hkBool)
  • offset: 167(x86)/183(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_deactivationReferenceDistance: f32

§C++ Info

  • name: deactivationReferenceDistance(ctype: hkReal)
  • offset: 168(x86)/184(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_toiCollisionResponseRotateNormal: f32

§C++ Info

  • name: toiCollisionResponseRotateNormal(ctype: hkReal)
  • offset: 172(x86)/188(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_maxSectorsPerMidphaseCollideTask: i32

§C++ Info

  • name: maxSectorsPerMidphaseCollideTask(ctype: hkInt32)
  • offset: 176(x86)/192(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_maxSectorsPerNarrowphaseCollideTask: i32

§C++ Info

  • name: maxSectorsPerNarrowphaseCollideTask(ctype: hkInt32)
  • offset: 180(x86)/196(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_processToisMultithreaded: bool

§C++ Info

  • name: processToisMultithreaded(ctype: hkBool)
  • offset: 184(x86)/200(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_maxEntriesPerToiMidphaseCollideTask: i32

§C++ Info

  • name: maxEntriesPerToiMidphaseCollideTask(ctype: hkInt32)
  • offset: 188(x86)/204(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_maxEntriesPerToiNarrowphaseCollideTask: i32

§C++ Info

  • name: maxEntriesPerToiNarrowphaseCollideTask(ctype: hkInt32)
  • offset: 192(x86)/208(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_maxNumToiCollisionPairsSinglethreaded: i32

§C++ Info

  • name: maxNumToiCollisionPairsSinglethreaded(ctype: hkInt32)
  • offset: 196(x86)/212(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_numToisTillAllowedPenetrationSimplifiedToi: f32

§C++ Info

  • name: numToisTillAllowedPenetrationSimplifiedToi(ctype: hkReal)
  • offset: 200(x86)/216(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_numToisTillAllowedPenetrationToi: f32

§C++ Info

  • name: numToisTillAllowedPenetrationToi(ctype: hkReal)
  • offset: 204(x86)/220(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_numToisTillAllowedPenetrationToiHigher: f32

§C++ Info

  • name: numToisTillAllowedPenetrationToiHigher(ctype: hkReal)
  • offset: 208(x86)/224(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_numToisTillAllowedPenetrationToiForced: f32

§C++ Info

  • name: numToisTillAllowedPenetrationToiForced(ctype: hkReal)
  • offset: 212(x86)/228(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_enableDeactivation: bool

§C++ Info

  • name: enableDeactivation(ctype: hkBool)
  • offset: 216(x86)/232(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_simulationType: SimulationType

§C++ Info

  • name: simulationType(ctype: enum SimulationType)
  • offset: 217(x86)/233(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_enableSimulationIslands: bool

§C++ Info

  • name: enableSimulationIslands(ctype: hkBool)
  • offset: 218(x86)/234(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_minDesiredIslandSize: u32

§C++ Info

  • name: minDesiredIslandSize(ctype: hkUint32)
  • offset: 220(x86)/236(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_processActionsInSingleThread: bool

§C++ Info

  • name: processActionsInSingleThread(ctype: hkBool)
  • offset: 224(x86)/240(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_allowIntegrationOfIslandsWithoutConstraintsInASeparateJob: bool

§C++ Info

  • name: allowIntegrationOfIslandsWithoutConstraintsInASeparateJob(ctype: hkBool)
  • offset: 225(x86)/241(x86_64)
  • type_size: 1(x86)/ 1(x86_64)
§m_frameMarkerPsiSnap: f32

§C++ Info

  • name: frameMarkerPsiSnap(ctype: hkReal)
  • offset: 228(x86)/244(x86_64)
  • type_size: 4(x86)/ 4(x86_64)
§m_fireCollisionCallbacks: bool

§C++ Info

  • name: fireCollisionCallbacks(ctype: hkBool)
  • offset: 232(x86)/248(x86_64)
  • type_size: 1(x86)/ 1(x86_64)

Trait Implementations§

Source§

impl Clone for hkpWorldCinfo

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for hkpWorldCinfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for hkpWorldCinfo

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for hkpWorldCinfo

Source§

fn deserialize<__D>(deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl HavokClass for hkpWorldCinfo

Source§

fn name(&self) -> &'static str

Get Class name.
Source§

fn signature(&self) -> Signature

Get signature.
Source§

fn deps_indexes(&self) -> Vec<usize>

Get dependencies class of indexes to do topological sort.
Source§

impl PartialEq for hkpWorldCinfo

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for hkpWorldCinfo

Source§

fn serialize<S>(&self, __serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoResult<T> for T

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,