Difference between revisions of "IC Python API:RLPy RGlobal"
From Reallusion Wiki!
Chuck (RL) (Talk | contribs) m (→Member Functions) |
Chuck (RL) (Talk | contribs) m (→Member Functions) |
||
Line 18: | Line 18: | ||
!Examples | !Examples | ||
|- | |- | ||
− | | | + | |GetProjectLength |
|<syntaxhighlight lang="Python"> | |<syntaxhighlight lang="Python"> | ||
− | def RLPy. | + | def RLPy.RGlobal.GetProjectLength() |
</syntaxhighlight> | </syntaxhighlight> | ||
|Get the address of the dialog window. | |Get the address of the dialog window. | ||
Line 34: | Line 34: | ||
# Return the current frame time in milliseconds. | # Return the current frame time in milliseconds. | ||
print(time.GetValue()) | print(time.GetValue()) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</syntaxhighlight> | </syntaxhighlight> | ||
</div> | </div> | ||
</div> | </div> | ||
|} | |} |
Revision as of 00:47, 19 January 2019
Contents
- Main article: System Module.
Class in RLPy / Inherits from: _object
Description
This class provides many of the common API global functions.
Member Functions
Function | Syntax | Description | Examples |
---|---|---|---|
GetProjectLength | def RLPy.RGlobal.GetProjectLength()
|
Get the address of the dialog window. | Fetch the current frame time in milliseconds: import RLPy
# Put the current frame time into a variable.
time = RLPy.RGlobal.GetTime()
# Return the current frame time in milliseconds.
print(time.GetValue())
|