Base Class of all Physics Joints that will be simulated. More...
#include <JointConfiguration.h>
Public Types | |
enum | PropertyVisibility : AZ::u8 { ParentLocalRotation = 1 << 0 , ParentLocalPosition = 1 << 1 , ChildLocalRotation = 1 << 2 , ChildLocalPosition = 1 << 3 , StartSimulationEnabled = 1 << 4 } |
Public Member Functions | |
AZ_RTTI (AzPhysics::JointConfiguration, "{DF91D39A-4901-48C4-9159-93FD2ACA5252}") | |
AZ::Crc32 | GetPropertyVisibility (PropertyVisibility property) const |
void | SetPropertyVisibility (PropertyVisibility property, bool isVisible) |
AZ::Crc32 | GetParentLocalRotationVisibility () const |
AZ::Crc32 | GetParentLocalPositionVisibility () const |
AZ::Crc32 | GetChildLocalRotationVisibility () const |
AZ::Crc32 | GetChildLocalPositionVisibility () const |
AZ::Crc32 | GetStartSimulationEnabledVisibility () const |
virtual AZStd::optional< float > | GetPropertyValue (const AZ::Name &propertyName) |
virtual void | SetPropertyValue (const AZ::Name &propertyName, float value) |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZ_CLASS_ALLOCATOR_DECL | |
void * | m_customUserData = nullptr |
AZ::Quaternion | m_parentLocalRotation = AZ::Quaternion::CreateIdentity() |
Parent joint frame relative to parent body. | |
AZ::Vector3 | m_parentLocalPosition = AZ::Vector3::CreateZero() |
Joint position relative to parent body. | |
AZ::Quaternion | m_childLocalRotation = AZ::Quaternion::CreateIdentity() |
Child joint frame relative to child body. | |
AZ::Vector3 | m_childLocalPosition = AZ::Vector3::CreateZero() |
Joint position relative to child body. | |
bool | m_startSimulationEnabled = true |
AZStd::string | m_debugName |
AZ::u8 | m_propertyVisibilityFlags = 0 |
Base Class of all Physics Joints that will be simulated.
enum AzPhysics::JointConfiguration::PropertyVisibility : AZ::u8 |