PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

ViewportFrame

Show deprecated

ViewportFrame

Show deprecated

A ViewportFrame is a type of GuiObject|GUI 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 ScreenGui.

For a step-by-step walkthrough, see the articles/ViewportFrame GUI|ViewportFrame GUI article.

Caveats

  • Currently, 3D objects can only be displayed in ScreenGui|ScreenGuis or PluginGui|PluginGuis.
  • Objects inside viewport frames are rendered using a fixed Lighting|Lighting setting.
  • No shadow or post effects are available. Neon and Glass Enum/Material|materials will be rendered on lowest quality.

Properties

Color3

Ambient

Camera

CurrentCamera

[NotReplicated]

Camera that is used to render children objects

Color3

ImageColor3

Determines how a rendered image will be colorized

float

ImageTransparency

Determines the transparency of the rendered image

Color3

LightColor

Vector3

LightDirection

Functions

Events