ViewportFrame

A ViewportFrame is a type of UI that can render 3D objects inside its bounds. This is a great way to display 3D objects/models in a 2D GUI space like a ScreenUI. At the moment, no shadow or post effects are available. Neon and Glass materials will be rendered on lowest quality.

Properties

Color Ambient

The lighting hue applied to the area within the ViewportFrame

Camera CurrentCamera

Camera that is used to render children objects

Color ImageColor

Determines how a rendered image will be colorized

float ImageTransparency

Determines the transparency of the rendered image

Color LightColor

The color of the emitted light

Vector3 LightDirection

A Vector3 representing the direction of the light source from the position 0, 0, 0

Inherited from Dynamic Set

Inherited from UIObject Set

Last updated