Class StaticComponent
- Namespace
- Stride.BepuPhysics
- Assembly
- Stride.BepuPhysics.dll
[ComponentCategory("Physics - Bepu")]
public class StaticComponent : CollidableComponent, IIdentifiable
- Inheritance
-
StaticComponent
- Implements
- Inherited Members
Properties
ContinuousDetection
public ContinuousDetection ContinuousDetection { get; set; }
Property Value
- ContinuousDetection
MaterialProperties
protected override ref MaterialProperties MaterialProperties { get; }
Property Value
Orientation
public Quaternion Orientation { get; set; }
Property Value
Pose
protected override RigidPose? Pose { get; }
Property Value
- RigidPose?
Position
public Vector3 Position { get; set; }
Property Value
Methods
AttachInner(RigidPose, BodyInertia, TypedIndex)
Called every time this is added to a simulation
protected override void AttachInner(RigidPose pose, BodyInertia shapeInertia, TypedIndex shapeIndex)
Parameters
pose
RigidPoseshapeInertia
BodyInertiashapeIndex
TypedIndex
Remarks
May occur when certain larger changes are made to the object, Simulation is the one this object is being added to
DetachInner()
Called every time this is removed from the simulation
protected override void DetachInner()
Remarks
May occur right before AttachInner(RigidPose, BodyInertia, TypedIndex) when certain larger changes are made to the object, Simulation is the one this object was on prior to detaching
GetHandleValue()
protected override int GetHandleValue()
Returns
IsContactHandlerRegistered()
protected override bool IsContactHandlerRegistered()
Returns
RegisterContactHandler()
protected override void RegisterContactHandler()
UnregisterContactHandler()
protected override void UnregisterContactHandler()