Quantum 3 3.0.14

Public Member Functions | Public Attributes | List of all members
Quantum.Prototypes.HingeJoint3DConfig Class Reference

Defines a prototype of a Joint3D struct of type JointType3D.HingeJoint. More...

Inheritance diagram for Quantum.Prototypes.HingeJoint3DConfig:
Quantum.StructPrototype Quantum.IPrototype

Public Member Functions

Joint3D CreateJoint (FrameBase f)
 
Joint3D CreateJoint (FrameBase f, EntityRef jointEntityRef, EntityRef connectedAnchorEntityRef=default)
 
unsafe void Materialize (FrameBase frame, ref Joint3D joint, EntityRef jointEntityRef, EntityRef connectedAnchorEntityRef)
 
void Materialize (FrameBase frame, ref Joint3D joint, in PrototypeMaterializationContext context)
 Materializes this joint prototype into a joint instance. More...
 

Public Attributes

FPVector3 Anchor
 
FPVector3 Axis
 
FPVector3 ConnectedAnchor
 
MapEntityId ConnectedEntity
 
FP LowerAngle
 
NullableFP MaxMotorTorque
 
FP MotorSpeed
 
bool StartDisabled = false
 
FP UpperAngle
 
bool UseAngleLimits = false
 
bool UseMotor = false
 
Int32 UserTag
 

Detailed Description

Defines a prototype of a Joint3D struct of type JointType3D.HingeJoint.

Member Function Documentation

◆ Materialize()

void Quantum.Prototypes.HingeJoint3DConfig.Materialize ( FrameBase  frame,
ref Joint3D  joint,
in PrototypeMaterializationContext  context 
)
inline

Materializes this joint prototype into a joint instance.

Parameters
frameThe frame in which this prototype is being materialized.
jointThe Joint3D resultant of this materialization.
contextThe PrototypeMaterializationContext in which this prototype is being materialized.