VideoDisplayクラス

クラス日本語解説は準備中

ひとことで言うと

VideoDisplayは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。

公式の説明(英語):A GUI object that displays video content from a connected VideoPlayer.

クラスの関係

受け継いでいるクラス:Object → Instance → GuiBase → GuiBase2d → GuiObject → VideoDisplay

プロパティ(7)

名前と書き方説明
ResampleMode
VideoDisplay.ResampleMode: ResamplerMode
Selects the texture resampling mode for the VideoDisplay.
ScaleType
VideoDisplay.ScaleType: ScaleType
Determines how a video will scale if displayed in a UI element whose aspect ratio differs from the source video.
TileSize
VideoDisplay.TileSize: UDim2
Sets the tiling size of the VideoDisplay.
VideoColor3
VideoDisplay.VideoColor3: Color3
Determines how a rendered video will be colorized.
VideoRectOffset
VideoDisplay.VideoRectOffset: Vector2
The offset in pixels of the sub-area of a video to be displayed.
VideoRectSize
VideoDisplay.VideoRectSize: Vector2
Determines the size in pixels of the sub-area of a video to be displayed.
VideoTransparency
VideoDisplay.VideoTransparency: float
Determines the transparency of the rendered video.

メソッド(3)

名前と書き方説明
GetConnectedWires
VideoDisplay:GetConnectedWires(pin: string): List<Wire>
Returns an array of Class.Wire|Wires that are connected to the specified pin.
GetInputPins
VideoDisplay:GetInputPins(): Array
Gets the list of pins that Wire can use in Wire.TargetName to connect to this instance via its Wire.TargetInstance property.
GetOutputPins
VideoDisplay: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)

名前と書き方説明
WiringChanged
VideoDisplay.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)

ClassName・GetPropertyChangedSignal・IsA・Changed

英語の説明とメンバーの一覧は、Roblox Creator Documentation(VideoDisplay)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。

執筆:鈴木孝昌官公庁のWeb・システム開発を担当する現役プロジェクトマネージャー。沖縄マイクラ部 クロスウェーブで、ロブロックス(Roblox)・マインクラフト(マイクラ)・Scratchなどのプログラミングを指導。マイクラカップ沖縄代表チームを指導(第6回・第7回、第7回TBS賞)。
沖縄マイクラ部で、子どもたちにロブロックス(Roblox)やマインクラフト(マイクラ)のプログラミングを教えています。プロフィールと編集方針
Instagramで教室の様子を見る
noteで記事を読む