The abstract Joint node class. More...
#include "murl_graph_joint.h"
Additional Inherited Members | |
Public Types inherited from Murl::IFactoryObject< INode > | |
using | ClassInfoArray = Array< const ClassInfo * > |
Definition of an array of ClassInfo objects. | |
Public Member Functions inherited from Murl::IFactoryObject< INode > | |
~IFactoryObject () override | |
The destructor. | |
virtual const ClassInfo * | GetObjectClassInfo () const=0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
Static Public Member Functions inherited from Murl::IFactoryObject< INode > | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< INode > *object) |
Reset an object instance's properties to their default values. More... | |
Detailed Description
The abstract Joint node class.
XML Elements
- XML Graph Node Attributes:
-
springConstant="400000.0" [Real]
The joint's spring constant. See Murl::Graph::IJoint::SetSpringConstant().
dampingConstant="8000.0" [Real]
The joint's damping constant. See Murl::Graph::IJoint::SetDampingConstant().
body1Id="" [String]
The ID of the first connected Murl::Graph::IBody node. See Murl::Graph::IJoint::GetBodyNodeTarget().
body1PosX="0.0" [Real]
The local X position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().
body1PosY="0.0" [Real]
The local Y position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().
body1PosZ="0.0" [Real]
The local Z position of the first connected body. See Murl::Graph::IJoint::SetBodyPosition().
body1Influence="0.0" [Real]
Enable/disable the joint influence on the first connected body. See Murl::Graph::IJoint::SetBodyInfluence().
body2Id="" [String]
The ID of the second connected Murl::Graph::IBody node. See Murl::Graph::IJoint::GetBodyNodeTarget().
body2PosX="0.0" [Real]
The local X position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().
body2PosY="0.0" [Real]
The local Y position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().
body2PosZ="0.0" [Real]
The local Z position of the second connected body. See Murl::Graph::IJoint::SetBodyPosition().
body2Influence="0.0" [Real]
Enable/disable the joint influence on the second connected body. See Murl::Graph::IJoint::SetBodyInfluence().
The documentation for this class was generated from the following file:
- murl_graph_joint.h