IC8 Python API:RLPy RISky

From Reallusion Wiki!
Jump to: navigation, search
Main article: iC8 Modules.
Last modified: 10/21/2026

Description

Represents a sky object. It exposes visibility controls and access to the sky material component.

Class Methods

RLPy.RISky.GetMaterialComponent(self)

Get material component of the object.

Returns

Pointer of the RIMaterialComponent object - RLPy.RIMaterialComponent

1 # No example

RLPy.RISky.IsVisible(self, kTime )

Check if the prop is visible.

Experimental API

Parameters

kTime[IN] Specifies the time to check if prop is visible - RLPy.RLTime

Returns

Bool value true if prop is visible; otherwise false.

1 # No example

RLPy.RISky.SetVisible(self, kTime, bVisible )

Sets the visible status.

Parameters

kTime[IN] Specifies the time to set visible - RLPy.RLTime
bVisible[IN] Visible status - bool

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail
1 # No example

Description

Represents a sky object. It exposes visibility controls and access to the sky material component.

Constructor & Destructor

__init__ (self, *args, **kwargs)

Initializes a new ri sky instance.

Parameters

  • args
  • kwargs

Member Functions

GetMaterialComponent (self)

Gets material component of the object.

IsVisible (self, kTime)

Checks if prop is visible.

Parameters

  • kTime

SetVisible (self, kTime, bVisible)

( Experimental Function ) Set visible status.

Parameters

  • kTime
  • bVisible

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.