VideoDisplayクラス
ひとことで言うと
VideoDisplayは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):A GUI object that displays video content from a connected VideoPlayer.
クラスの関係
受け継いでいるクラス:Object → Instance → GuiBase → GuiBase2d → GuiObject → VideoDisplay
プロパティ(7)
| 名前と書き方 | 説明 |
|---|---|
ResampleModeVideoDisplay.ResampleMode: ResamplerMode | Selects the texture resampling mode for the VideoDisplay. |
ScaleTypeVideoDisplay.ScaleType: ScaleType | Determines how a video will scale if displayed in a UI element whose aspect ratio differs from the source video. |
TileSizeVideoDisplay.TileSize: UDim2 | Sets the tiling size of the VideoDisplay. |
VideoColor3VideoDisplay.VideoColor3: Color3 | Determines how a rendered video will be colorized. |
VideoRectOffsetVideoDisplay.VideoRectOffset: Vector2 | The offset in pixels of the sub-area of a video to be displayed. |
VideoRectSizeVideoDisplay.VideoRectSize: Vector2 | Determines the size in pixels of the sub-area of a video to be displayed. |
VideoTransparencyVideoDisplay.VideoTransparency: float | Determines the transparency of the rendered video. |
メソッド(3)
| 名前と書き方 | 説明 |
|---|---|
GetConnectedWiresVideoDisplay:GetConnectedWires(pin: string): List<Wire> | Returns an array of Class.Wire|Wires that are connected to the specified pin. |
GetInputPinsVideoDisplay:GetInputPins(): Array | Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property. |
GetOutputPinsVideoDisplay:GetOutputPins(): Array | Gets the list of pins that Wire can use in Wire.SourceName to connect to this instance via its Wire.SourceInstance property. |
イベント(1)
| 名前と書き方 | 説明 |
|---|---|
WiringChangedVideoDisplay.WiringChanged(connected: boolean, pin: string, wire: Wire, instance: Instance) | Fires when another instance is connected to or disconnected from the VideoDisplay via a Wire. |
受け継いでいるメンバー
GuiObject から受け継いでいるもの(42)
Active・AnchorPoint・AutomaticSize・BackgroundColor3・BackgroundTransparency・BorderColor3・BorderMode・BorderSizePixel・ClipsDescendants・GuiState・InputSink・Interactable・LayoutOrder・NextSelectionDown・NextSelectionLeft・NextSelectionRight・NextSelectionUp・Position・Rotation・Selectable・SelectionImageObject・SelectionOrder・Size・SizeConstraint・Visible・ZIndex・InputBegan・InputChanged・InputEnded・MouseEnter・MouseLeave・MouseMoved・MouseWheelBackward・MouseWheelForward・SelectionGained・SelectionLost・TouchLongPress・TouchPan・TouchPinch・TouchRotate・TouchSwipe・TouchTap
GuiBase2d から受け継いでいるもの(11)
AbsolutePosition・AbsoluteRotation・AbsoluteSize・AutoLocalize・RootLocalizationTable・SelectionBehaviorDown・SelectionBehaviorLeft・SelectionBehaviorRight・SelectionBehaviorUp・SelectionGroup・SelectionChanged
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(VideoDisplay)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。