IC Python API:RLPy RGlobal

From Reallusion Wiki!
Revision as of 02:21, 17 January 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} == Description == This class provides many of the common API global functions. == Member Functions == {|class = "wikitable" !Function !Syntax !Description !Example...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This class provides many of the common API global functions.

Member Functions

Function Syntax Description Examples
GetWindow
def RLPy.RTime.GetWindow(self)
Get the address of the dialog window.

The following example fetches 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())