Skip to content
Roblox API Reference

VideoDisplay

A GUI object that displays video content from a connected VideoPlayer.
  • Not browsable
Memory category
Gui
Own members
11
Inherited members
156
Subclasses
0
Siblings
12

Properties86

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromGuiBase2d17

Property categoryData

Property categoryDebugging

Property categoryLocalization

Property categorySelection

Inherited fromGuiObject39

Property categoryAppearance

Property categoryBehavior

  • Determines if descendant GuiObjects outside of the bounds of a parent GUI element should render.
    • Read capabilities: UI
  • Deprecated: This property is deprecated. Use UIDragDetector instead, as it supports more input types and can be better customized.
    Determines whether a GuiObject (and its descendants) can be dragged around the screen.
    • Deprecated
    • Read capabilities: UI

Property categoryData

Property categoryEventReplicator

Property categorySelection

Property categoryState

Defined byVideoDisplay7

Property categoryVideo

  • VideoDisplay.ResampleMode: Enum.ResamplerMode = Enum.ResamplerMode.Default
    Selects the texture resampling mode for the VideoDisplay.
    • Read capabilities: UI
  • VideoDisplay.ScaleType: Enum.ScaleType = Enum.ScaleType.Stretch
    Determines how a video will scale if displayed in a UI element whose aspect ratio differs from the source video.
    • Read capabilities: UI
  • VideoDisplay.TileSize: UDim2 = UDim2.new(1, 0, 1, 0)
    Sets the tiling size of the VideoDisplay.
    • Read capabilities: UI
  • VideoDisplay.VideoColor3: Color3 = Color3.new(1, 1, 1)
    Determines how a rendered video will be colorized.
    • Read capabilities: UI
  • VideoDisplay.VideoRectOffset: Vector2 = Vector2.zero
    The offset in pixels of the sub-area of a video to be displayed.
    • Read capabilities: UI
  • VideoDisplay.VideoRectSize: Vector2 = Vector2.zero
    Determines the size in pixels of the sub-area of a video to be displayed.
    • Read capabilities: UI
  • VideoDisplay.VideoTransparency: number = 0
    Determines the transparency of the rendered video.
    • Read capabilities: UI

Methods51

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromGuiObject6
Defined byVideoDisplay3
  • VideoDisplay:GetConnectedWires(pin: string): { Instance }
    Returns an array of Wires that are connected to the specified pin.
    • Capabilities: UI
    Parameters
    ParameterDescription
    pin: string
    An input or output pin on this instance
    Returns
    TypeDescription
    { Instance }
    An array of Wires
  • VideoDisplay:GetInputPins(): { any }
    Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property.
    • Capabilities: UI
    Returns
    TypeDescription
    { any }
    An array of strings representing valid pin names.
  • VideoDisplay:GetOutputPins(): { any }
    Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property.
    • Capabilities: UI
    Returns
    TypeDescription
    { any }
    An array of strings representing valid pin names.

Events30

Inherited fromObject1
Inherited fromInstance9
Inherited fromGuiBase2d1
Inherited fromGuiObject18
Defined byVideoDisplay1