IC Python API:RLPy RKey
From Reallusion Wiki!
Revision as of 00:53, 28 March 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Detailed Description== This is the base class for keys. This class stores the time of the key. Can be inserted int...")
- Main article: Modules.
Detailed Description
This is the base class for keys. This class stores the time of the key. Can be inserted into the RControl.
Constructor & Destructors
__init__
RLPy.RKey.__init__ ( self, args )
The copy constructor of the class. Initialize a new RKey object with the values from another RKey object.
Parameters
kRhs [IN] The source RKey object - RLPy.RKey
Member Functions
Clone
RLPy.RKey.Clone ( self )
Clone object. Supports cloning, which creates a new instance of a class with the same value as an existing instance.
GetTime
RLPy.RKey.GetTime ( self )
Get Time of the key.
Returns
Time of the key - RLPy.RTime
GetTransitionStrength
RLPy.RKey.GetTransitionStrength ( self )
Get transition strength of the key.
Returns
Transition strength of the key - float
GetTransitionType
RLPy.RKey.GetTransitionType ( self )
Get transition type of the key.
Returns
Transition type of the key - RLPy.ETransitionType
- RLPy.ETransitionType_Invalid Invalid value.
- RLPy.ETransitionType_None None.
- RLPy.ETransitionType_Linear Linear.
- RLPy.ETransitionType_Step Step.
- RLPy.ETransitionType_Ease_Out Ease out.
- RLPy.ETransitionType_Ease_In Ease in.
- RLPy.ETransitionType_Ease_Out_In Ease out in.
- RLPy.ETransitionType_Ease_In_Out Ease in out.
- RLPy.ETransitionType_Ease_In_Sine Ease in sine.
- RLPy.ETransitionType_Ease_Out_Sine Ease out sine.
- RLPy.ETransitionType_Ease_In_Out_Sine Ease in out sine.
- RLPy.ETransitionType_Ease_In_Quad Ease in quad.
- RLPy.ETransitionType_Ease_Out_Quad Ease out quad.
- RLPy.ETransitionType_Ease_In_Out_Quad Ease in out quad.
- RLPy.ETransitionType_Ease_In_Cubic Ease in cubic.
- RLPy.ETransitionType_Ease_Out_Cubic Ease in out cubic.
- RLPy.ETransitionType_Ease_In_Out_Cubic Ease in out cubic.
- RLPy.ETransitionType_Ease_In_Quart Ease in quart.
- RLPy.ETransitionType_Ease_Out_Quart Ease out quart.
- RLPy.ETransitionType_Ease_In_Out_Quart Ease in out quart.
- RLPy.ETransitionType_Ease_In_Quint Ease in quint.
- RLPy.ETransitionType_Ease_Out_Quint Ease out quint.
- RLPy.ETransitionType_Ease_In_Out_Quint Ease in out quint.
- RLPy.ETransitionType_Ease_In_Expo Ease in expo.
- RLPy.ETransitionType_Ease_Out_Expo Ease out expo.
- RLPy.ETransitionType_Ease_In_Out_Expo Ease in out expo.
- RLPy.ETransitionType_Ease_In_Circ Ease in circ.
- RLPy.ETransitionType_Ease_Out_Circ Ease out circ.
- RLPy.ETransitionType_Ease_In_Out_Circ Ease in out circ.
- RLPy.ETransitionType_Ease_In_Back Ease in back.
- RLPy.ETransitionType_Ease_Out_Back Ease out back.
- RLPy.ETransitionType_Ease_In_Out_Back Ease in out back.
- RLPy.ETransitionType_Ease_In_Elastic Ease in elastic.
- RLPy.ETransitionType_Ease_Out_Elastic Ease out elastic.
- RLPy.ETransitionType_Ease_In_Out_Elastic Ease in out elastic.
- RLPy.ETransitionType_Ease_In_Bounce Ease in bounce.
- RLPy.ETransitionType_Ease_Out_Bounce Ease out bounce.
- RLPy.ETransitionType_Ease_In_Out_Bounce Ease in out bounce.
- RLPy.ETransitionType_Last Last.
- RLPy.ETransitionType_Count
SetTime
RLPy.RKey.SetTime ( self, kTime )
Set time of the key.
Parameters
kTime [IN] Time of the key - RLPy.RTime
SetTransitionStrength
RLPy.RKey.SetTransitionStrength ( self, fTransitionStrength )
Set transition strength of the key.
Parameters
fTransitionStrength [IN] Transition strength of the key - float
SetTransitionType
RLPy.RKey.SetTransitionType ( self, eTransitionType )
Set transition type of the key.
Parameters
eTransitionType [IN] Transition type of the key - RLPy.ETransitionType
- RLPy.ETransitionType_Invalid Invalid value.
- RLPy.ETransitionType_None None.
- RLPy.ETransitionType_Linear Linear.
- RLPy.ETransitionType_Step Step.
- RLPy.ETransitionType_Ease_Out Ease out.
- RLPy.ETransitionType_Ease_In Ease in.
- RLPy.ETransitionType_Ease_Out_In Ease out in.
- RLPy.ETransitionType_Ease_In_Out Ease in out.
- RLPy.ETransitionType_Ease_In_Sine Ease in sine.
- RLPy.ETransitionType_Ease_Out_Sine Ease out sine.
- RLPy.ETransitionType_Ease_In_Out_Sine Ease in out sine.
- RLPy.ETransitionType_Ease_In_Quad Ease in quad.
- RLPy.ETransitionType_Ease_Out_Quad Ease out quad.
- RLPy.ETransitionType_Ease_In_Out_Quad Ease in out quad.
- RLPy.ETransitionType_Ease_In_Cubic Ease in cubic.
- RLPy.ETransitionType_Ease_Out_Cubic Ease in out cubic.
- RLPy.ETransitionType_Ease_In_Out_Cubic Ease in out cubic.
- RLPy.ETransitionType_Ease_In_Quart Ease in quart.
- RLPy.ETransitionType_Ease_Out_Quart Ease out quart.
- RLPy.ETransitionType_Ease_In_Out_Quart Ease in out quart.
- RLPy.ETransitionType_Ease_In_Quint Ease in quint.
- RLPy.ETransitionType_Ease_Out_Quint Ease out quint.
- RLPy.ETransitionType_Ease_In_Out_Quint Ease in out quint.
- RLPy.ETransitionType_Ease_In_Expo Ease in expo.
- RLPy.ETransitionType_Ease_Out_Expo Ease out expo.
- RLPy.ETransitionType_Ease_In_Out_Expo Ease in out expo.
- RLPy.ETransitionType_Ease_In_Circ Ease in circ.
- RLPy.ETransitionType_Ease_Out_Circ Ease out circ.
- RLPy.ETransitionType_Ease_In_Out_Circ Ease in out circ.
- RLPy.ETransitionType_Ease_In_Back Ease in back.
- RLPy.ETransitionType_Ease_Out_Back Ease out back.
- RLPy.ETransitionType_Ease_In_Out_Back Ease in out back.
- RLPy.ETransitionType_Ease_In_Elastic Ease in elastic.
- RLPy.ETransitionType_Ease_Out_Elastic Ease out elastic.
- RLPy.ETransitionType_Ease_In_Out_Elastic Ease in out elastic.
- RLPy.ETransitionType_Ease_In_Bounce Ease in bounce.
- RLPy.ETransitionType_Ease_Out_Bounce Ease out bounce.
- RLPy.ETransitionType_Ease_In_Out_Bounce Ease in out bounce.
- RLPy.ETransitionType_Last Last.
- RLPy.ETransitionType_Count