Scene¶
-
class
cgp_maya_utils.scene.Scene¶ Bases:
objectscene object that manipulates a live scene
-
static
animationStart()¶ the start of the animation
Returns: the start of the animation Return type: float
-
static
currentTime()¶ the current time of the animation
Returns: the current time of the animation Return type: float
-
static
file_()¶ get the file of the scene
Returns: the file of the scene Return type: cgp_generic_utils.files.File
-
static
maximumTime()¶ the maximum time of the animation
Returns: the maximum time of the animation Return type: float
-
static
minimumTime()¶ the minimum time of the animation
Returns: the minimum time of the animation Return type: float
-
static
new(force=False)¶ open a new scene
Parameters: force (bool) – True: new scene opening will be forced -False: save prompt will show before opening
-
reopen(force=False)¶ reopen the scene file
Parameters: force (bool) – True: scene reopening will be forced -False: save prompt will show before reopening
-
static
setAnimationEnd(value)¶ set the end of the animation
Parameters: value (float or int) – value used to set the animationEnd
-
static
setAnimationStart(value)¶ set the start of the animation
Parameters: value (float or int) – value used to set the animationStart
-
static
setCurrentTime(value)¶ set the currentTime of the animation
Parameters: value (float or int) – value used to set the currentTime
-
static
setMaximumTime(value)¶ set the maximumTime of the animation
Parameters: value (float or int) – value used to set the maximumTime
-
static