Base class for all Joints in Physics.  
 More...
#include <PhysicsJoint.h>
|  | 
|  | AZ_RTTI (AzPhysics::Joint, "{1EEC9382-3434-4866-9B18-E93F151A6F59}") | 
|  | 
| template<typename T > | 
| void | SetUserData (T *userData) | 
|  | 
| void * | GetUserData () | 
|  | 
| virtual AZ::Crc32 | GetNativeType () const =0 | 
|  | 
| virtual void * | GetNativePointer () const =0 | 
|  | 
| virtual AzPhysics::SimulatedBodyHandle | GetParentBodyHandle () const =0 | 
|  | 
| virtual AzPhysics::SimulatedBodyHandle | GetChildBodyHandle () const =0 | 
|  | 
| virtual void | SetParentBody (AzPhysics::SimulatedBodyHandle parentBody)=0 | 
|  | 
| virtual void | SetChildBody (AzPhysics::SimulatedBodyHandle childBody)=0 | 
|  | 
| virtual void | GenerateJointLimitVisualizationData (float scale, AZ::u32 angularSubdivisions, AZ::u32 radialSubdivisions, AZStd::vector< AZ::Vector3 > &vertexBufferOut, AZStd::vector< AZ::u32 > &indexBufferOut, AZStd::vector< AZ::Vector3 > &lineBufferOut, AZStd::vector< bool > &lineValidityBufferOut) | 
|  | 
|  | 
| static void | Reflect (AZ::ReflectContext *context) | 
|  | 
|  | 
|  | AZ_CLASS_ALLOCATOR_DECL | 
|  | 
| SceneHandle | m_sceneOwner = AzPhysics::InvalidSceneHandle | 
|  | The current Scene the joint is contained. 
 | 
|  | 
| JointHandle | m_jointHandle = AzPhysics::InvalidJointHandle | 
|  | The handle to this joint. 
 | 
|  | 
Base class for all Joints in Physics. 
◆ GetUserData()
  
  | 
        
          | void * AzPhysics::Joint::GetUserData | ( |  | ) |  |  | inline | 
 
Helper functions for getting the set user data. 
- Returns
- Will return a void* to the user data set. 
 
 
◆ SetUserData()
template<typename T > 
  
  | 
        
          | void AzPhysics::Joint::SetUserData | ( | T * | userData | ) |  |  | inline | 
 
Helper functions for setting user data. 
- Parameters
- 
  
    | userData | Can be a pointer to any type as internally will be cast to a void*. Object lifetime not managed by the Joint. |  
 
 
 
The documentation for this struct was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Physics/Common/PhysicsJoint.h