Difference between revisions of "IC Python API:RLPy RIHikEffectorComponent"
Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Inheritance== This class inherits public member functions from: *RLPy.RIBase ==Detai...") |
Chuck (RL) (Talk | contribs) m |
||
Line 4: | Line 4: | ||
This class inherits public member functions from: | This class inherits public member functions from: | ||
*[[IC_Python_API:RLPy_RIBase|RLPy.RIBase]] | *[[IC_Python_API:RLPy_RIBase|RLPy.RIBase]] | ||
− | ==Detailed Description== | + | == Detailed Description == |
− | This class is the interface to the | + | This class is the interface to the human IK effector in the avatar. |
<span style="background:#ffcccc">( Experimental Class )</span> <syntaxhighlight lang="Python"> | <span style="background:#ffcccc">( Experimental Class )</span> <syntaxhighlight lang="Python"> | ||
− | # Get | + | # Get human IK component |
avatar_list = RLPy.RScene.GetAvatars() | avatar_list = RLPy.RScene.GetAvatars() | ||
avatar = avatar_list[0] | avatar = avatar_list[0] | ||
− | + | hik_effector_component = avatar.GetHikEffectorComponent() | |
− | # | + | # Activate left hand effector |
− | + | hik_effector_component.ActivateEffector(RLPy.EHikEffector_LeftHand) | |
− | + | print(hik_effector_component.GetEffectorActive(RLPy.EHikEffector_LeftHand)) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | print( | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | # Process left hand data to effector |
− | + | pos_1 = RLPy.RVector3.UNIT_X | |
+ | pos_2 = RLPy.RVector3.UNIT_Y | ||
+ | position_data = [pos_1, pos_2] | ||
+ | result = hik_effector_component.ProcessEffector(position_data) | ||
print(result) | print(result) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | ==Member Functions== | + | == Member Functions == |
− | === | + | === ActivateEffector === |
<syntaxhighlight lang="Python"> | <syntaxhighlight lang="Python"> | ||
− | RLPy. | + | RLPy.RIHikEffectorComponent.ActivateEffector ( self, args ) |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Activate human IK effector with lock translate and rotate status. | |
<span style="background:#ffcccc">( Experimental API )</span> | <span style="background:#ffcccc">( Experimental API )</span> | ||
− | ====Parameters==== | + | ==== Parameters ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
− | ''' | + | '''bLockTranslate''' [IN] Lock translate status - bool |
− | ''' | + | '''bLockRotate''' [IN] Lock rotate status - bool |
− | + | ||
− | + | ||
</div> | </div> | ||
− | ====Return Values==== | + | ==== Return Values ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | |||
'''RLPy.RStatus.Success''' Success | '''RLPy.RStatus.Success''' Success | ||
Line 81: | Line 67: | ||
</div> | </div> | ||
----- | ----- | ||
− | === | + | === DeactivateEffector === |
<syntaxhighlight lang="Python"> | <syntaxhighlight lang="Python"> | ||
− | RLPy. | + | RLPy.RIHikEffectorComponent.DeactivateEffector ( self, eEffector ) |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Deactivate human IK effector. | |
<span style="background:#ffcccc">( Experimental API )</span> | <span style="background:#ffcccc">( Experimental API )</span> | ||
− | ====Parameters==== | + | ==== Parameters ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | + | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | |
− | ''' | + | *'''RLPy.EHikEffector_Invalid''' |
− | + | *'''RLPy.EHikEffector_LeftHand''' | |
− | ''' | + | *'''RLPy.EHikEffector_LeftElbow''' |
− | + | *'''RLPy.EHikEffector_LeftShoulder''' | |
− | ''' | + | *'''RLPy.EHikEffector_RightHand''' |
− | + | *'''RLPy.EHikEffector_RightElbow''' | |
− | ''' | + | *'''RLPy.EHikEffector_RightShoulder''' |
− | + | *'''RLPy.EHikEffector_LeftFoot''' | |
− | ''' | + | *'''RLPy.EHikEffector_LeftKnee''' |
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
</div> | </div> | ||
− | ====Return Values==== | + | ==== Return Values ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | |||
'''RLPy.RStatus.Success''' Success | '''RLPy.RStatus.Success''' Success | ||
Line 108: | Line 106: | ||
</div> | </div> | ||
----- | ----- | ||
− | === | + | === GetActivatedEffector === |
<syntaxhighlight lang="Python"> | <syntaxhighlight lang="Python"> | ||
− | RLPy. | + | RLPy.RIHikEffectorComponent.GetActivatedEffector ( self ) |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Get activated human IK effector. | |
<span style="background:#ffcccc">( Experimental API )</span> | <span style="background:#ffcccc">( Experimental API )</span> | ||
− | ==== | + | ==== Returns ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | + | Activated human IK effector - int | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | ====Return Values==== | + | ----- |
+ | === GetEffectorActive === | ||
+ | <syntaxhighlight lang="Python"> | ||
+ | RLPy.RIHikEffectorComponent.GetEffectorActive ( self, eEffector ) | ||
+ | </syntaxhighlight> | ||
+ | Get human IK effector active status. | ||
+ | <span style="background:#ffcccc">( Experimental API )</span> | ||
+ | ==== Parameters ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
+ | </div> | ||
+ | ==== Returns ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | True if human IK effector is active, False if human IK effector is not active - bool | ||
+ | </div> | ||
+ | ----- | ||
+ | === GetEffectorLockRotate === | ||
+ | <syntaxhighlight lang="Python"> | ||
+ | RLPy.RIHikEffectorComponent.GetEffectorLockRotate ( self, eEffector ) | ||
+ | </syntaxhighlight> | ||
+ | Get human IK effector lock rotate status. | ||
+ | <span style="background:#ffcccc">( Experimental API )</span> | ||
+ | ==== Parameters ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
+ | </div> | ||
+ | ==== Returns ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | True if human IK effector rotate status is locked, False if human IK effector rotate is unlocked - bool | ||
+ | </div> | ||
+ | ----- | ||
+ | === GetEffectorLockTranslate === | ||
+ | <syntaxhighlight lang="Python"> | ||
+ | RLPy.RIHikEffectorComponent.GetEffectorLockTranslate ( self, eEffector ) | ||
+ | </syntaxhighlight> | ||
+ | Get human IK effector lock translate status. | ||
+ | <span style="background:#ffcccc">( Experimental API )</span> | ||
+ | ==== Parameters ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
+ | </div> | ||
+ | ==== Returns ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | True if human IK effector translate status is locked, False if human IK effector translate is unlocked - bool | ||
+ | </div> | ||
+ | ----- | ||
+ | === ProcessEffector === | ||
+ | <syntaxhighlight lang="Python"> | ||
+ | RLPy.RIHikEffectorComponent.ProcessEffector ( self, args ) | ||
+ | </syntaxhighlight> | ||
+ | Process world matrix to human IK effector. | ||
+ | <span style="background:#ffcccc">( Experimental API )</span> | ||
+ | ==== Parameters ==== | ||
+ | <div style="margin-left: 2em;"> | ||
+ | '''kWorldMatrix''' [IN] World matrix - RLPy.RMatrix4f | ||
+ | </div> | ||
+ | ==== Return Values ==== | ||
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | |||
'''RLPy.RStatus.Success''' Success | '''RLPy.RStatus.Success''' Success | ||
Line 131: | Line 245: | ||
</div> | </div> | ||
----- | ----- | ||
− | === | + | === SetEffectorLockRotate === |
<syntaxhighlight lang="Python"> | <syntaxhighlight lang="Python"> | ||
− | RLPy. | + | RLPy.RIHikEffectorComponent.SetEffectorLockRotate ( self, eEffector, bLock ) |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Set human IK effector lock rotate status. | |
<span style="background:#ffcccc">( Experimental API )</span> | <span style="background:#ffcccc">( Experimental API )</span> | ||
− | ====Parameters==== | + | ==== Parameters ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
− | ''' | + | '''bLock''' [IN] Lock rotate status - bool |
− | + | ||
− | + | ||
</div> | </div> | ||
− | ====Return Values==== | + | ==== Return Values ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | |||
'''RLPy.RStatus.Success''' Success | '''RLPy.RStatus.Success''' Success | ||
Line 152: | Line 286: | ||
</div> | </div> | ||
----- | ----- | ||
− | === | + | === SetEffectorLockTranslate === |
<syntaxhighlight lang="Python"> | <syntaxhighlight lang="Python"> | ||
− | RLPy. | + | RLPy.RIHikEffectorComponent.SetEffectorLockTranslate ( self, eEffector, bLock ) |
</syntaxhighlight> | </syntaxhighlight> | ||
− | + | Set human IK effector lock translate status. | |
<span style="background:#ffcccc">( Experimental API )</span> | <span style="background:#ffcccc">( Experimental API )</span> | ||
− | ====Parameters==== | + | ==== Parameters ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
+ | '''eEffector''' [IN] Human IK effector - RLPy.EHikEffector | ||
+ | *'''RLPy.EHikEffector_Invalid''' | ||
+ | *'''RLPy.EHikEffector_LeftHand''' | ||
+ | *'''RLPy.EHikEffector_LeftElbow''' | ||
+ | *'''RLPy.EHikEffector_LeftShoulder''' | ||
+ | *'''RLPy.EHikEffector_RightHand''' | ||
+ | *'''RLPy.EHikEffector_RightElbow''' | ||
+ | *'''RLPy.EHikEffector_RightShoulder''' | ||
+ | *'''RLPy.EHikEffector_LeftFoot''' | ||
+ | *'''RLPy.EHikEffector_LeftKnee''' | ||
+ | *'''RLPy.EHikEffector_LeftHip''' | ||
+ | *'''RLPy.EHikEffector_RightFoot''' | ||
+ | *'''RLPy.EHikEffector_RightKnee''' | ||
+ | *'''RLPy.EHikEffector_RightHip''' | ||
+ | *'''RLPy.EHikEffector_Hip''' | ||
+ | *'''RLPy.EHikEffector_Head''' | ||
+ | *'''RLPy.EHikEffector_Neck''' | ||
+ | *'''RLPy.EHikEffector_ChestOrigin''' | ||
+ | *'''RLPy.EHikEffector_LeftToe''' | ||
+ | *'''RLPy.EHikEffector_RightToe''' | ||
+ | *'''RLPy.EHikEffector_LeftFingerBase''' | ||
+ | *'''RLPy.EHikEffector_RightFingerBase''' | ||
+ | *'''RLPy.EHikEffector_Quantity''' | ||
− | ''' | + | '''bLock''' [IN] Lock translate status - bool |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
− | ====Return Values==== | + | ==== Return Values ==== |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
− | |||
'''RLPy.RStatus.Success''' Success | '''RLPy.RStatus.Success''' Success | ||
'''RLPy.RStatus.Failure''' Fail | '''RLPy.RStatus.Failure''' Fail | ||
</div> | </div> |
Revision as of 18:04, 11 March 2020
- Main article: Modules.
Inheritance
This class inherits public member functions from:
Detailed Description
This class is the interface to the human IK effector in the avatar.
( Experimental Class )# Get human IK component
avatar_list = RLPy.RScene.GetAvatars()
avatar = avatar_list[0]
hik_effector_component = avatar.GetHikEffectorComponent()
# Activate left hand effector
hik_effector_component.ActivateEffector(RLPy.EHikEffector_LeftHand)
print(hik_effector_component.GetEffectorActive(RLPy.EHikEffector_LeftHand))
# Process left hand data to effector
pos_1 = RLPy.RVector3.UNIT_X
pos_2 = RLPy.RVector3.UNIT_Y
position_data = [pos_1, pos_2]
result = hik_effector_component.ProcessEffector(position_data)
print(result)
Member Functions
ActivateEffector
RLPy.RIHikEffectorComponent.ActivateEffector ( self, args )
Activate human IK effector with lock translate and rotate status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
bLockTranslate [IN] Lock translate status - bool
bLockRotate [IN] Lock rotate status - bool
Return Values
RLPy.RStatus.Success Success
RLPy.RStatus.Failure Fail
DeactivateEffector
RLPy.RIHikEffectorComponent.DeactivateEffector ( self, eEffector )
Deactivate human IK effector. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
Return Values
RLPy.RStatus.Success Success
RLPy.RStatus.Failure Fail
GetActivatedEffector
RLPy.RIHikEffectorComponent.GetActivatedEffector ( self )
Get activated human IK effector. ( Experimental API )
Returns
Activated human IK effector - int
GetEffectorActive
RLPy.RIHikEffectorComponent.GetEffectorActive ( self, eEffector )
Get human IK effector active status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
Returns
True if human IK effector is active, False if human IK effector is not active - bool
GetEffectorLockRotate
RLPy.RIHikEffectorComponent.GetEffectorLockRotate ( self, eEffector )
Get human IK effector lock rotate status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
Returns
True if human IK effector rotate status is locked, False if human IK effector rotate is unlocked - bool
GetEffectorLockTranslate
RLPy.RIHikEffectorComponent.GetEffectorLockTranslate ( self, eEffector )
Get human IK effector lock translate status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
Returns
True if human IK effector translate status is locked, False if human IK effector translate is unlocked - bool
ProcessEffector
RLPy.RIHikEffectorComponent.ProcessEffector ( self, args )
Process world matrix to human IK effector. ( Experimental API )
Parameters
kWorldMatrix [IN] World matrix - RLPy.RMatrix4f
Return Values
RLPy.RStatus.Success Success
RLPy.RStatus.Failure Fail
SetEffectorLockRotate
RLPy.RIHikEffectorComponent.SetEffectorLockRotate ( self, eEffector, bLock )
Set human IK effector lock rotate status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
bLock [IN] Lock rotate status - bool
Return Values
RLPy.RStatus.Success Success
RLPy.RStatus.Failure Fail
SetEffectorLockTranslate
RLPy.RIHikEffectorComponent.SetEffectorLockTranslate ( self, eEffector, bLock )
Set human IK effector lock translate status. ( Experimental API )
Parameters
eEffector [IN] Human IK effector - RLPy.EHikEffector
- RLPy.EHikEffector_Invalid
- RLPy.EHikEffector_LeftHand
- RLPy.EHikEffector_LeftElbow
- RLPy.EHikEffector_LeftShoulder
- RLPy.EHikEffector_RightHand
- RLPy.EHikEffector_RightElbow
- RLPy.EHikEffector_RightShoulder
- RLPy.EHikEffector_LeftFoot
- RLPy.EHikEffector_LeftKnee
- RLPy.EHikEffector_LeftHip
- RLPy.EHikEffector_RightFoot
- RLPy.EHikEffector_RightKnee
- RLPy.EHikEffector_RightHip
- RLPy.EHikEffector_Hip
- RLPy.EHikEffector_Head
- RLPy.EHikEffector_Neck
- RLPy.EHikEffector_ChestOrigin
- RLPy.EHikEffector_LeftToe
- RLPy.EHikEffector_RightToe
- RLPy.EHikEffector_LeftFingerBase
- RLPy.EHikEffector_RightFingerBase
- RLPy.EHikEffector_Quantity
bLock [IN] Lock translate status - bool
Return Values
RLPy.RStatus.Success Success
RLPy.RStatus.Failure Fail