CigiArticulatedControl Class
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to- Sim
SDK edition to use it.
You should upgrade to
Header: | #include <UnigineCIGIConnector.h> |
CigiArticulatedControl Class
Members
int getEntityID ( ) #
Returns the entity ID specified in the packet.Return value
Entity ID.int getPartID ( ) #
Returns the articulated part ID specified in the packet.Return value
Articulated part ID.int getPartEnabled ( ) #
Returns the value of the Articulated Part Enable parameter specified in the packet.Return value
Articulated Part Enable parameter value: 1 if the articulated part is enabled; otherwise, 0.const ivec3 & getOffsetEnabled ( ) #
Returns a three-component vector combining Offset Enable values specified in the packet. Each value determines whether the offset for the corresponding axis(X - back, Y - left, Z - down) is enabled.Return value
Vector of three integer values. Each value determines whether the offset for the corresponding axis(X - back, Y - left, Z - down) is enabled: 1 - enabled; 0 - disabled.const ivec3 & getRotationEnabled ( ) #
Returns a three-component vector combining Roll/Pitch/Yaw Enable values specified in the packet. Each value determines whether the rotation around the corresponding axis(roll, pitch, yaw) is enabled.Return value
Vector of three integer values. Each value determines whether the offset for the corresponding axis(X - back, Y - left, Z - down) is enabled: 1 - enabled; 0 - disabled.const vec3 & getOffset ( ) #
Returns the offset of the articulated part in the submodel coordinate system (SCS) specified in the packet.Return value
Articulated part offset coordinates (X - back, Y - left, Z - down).const vec3 & getRotation ( ) #
Returns the rotation of the articulated part in the submodel coordinate system (SCS) specified in the packet.Return value
Articulated part rotation euler angles.Last update:
10.04.2020
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter