Video
Summary
A video widget
Instance Properties
Name | Return Type | Description |
---|---|---|
index | number Read-only | Gets the index of this Video |
layer | Layer Read/Write | The layer the video is on |
group | Group Read/Write | The group this video is part of |
transform | Transform Read/Write | The Transform (position, rotation, scale) of the Video Widget |
position | Vector3 Read/Write | The 3D position of the Video Widget |
rotation | Rotation Read/Write | The 3D orientation of the Video Widget |
scale | number Read/Write | The scale of the Video Widget |
Class Methods
Video:Import(location)
Imports a video file from the user's MediaLibrary/Videos folder
Returns: Video
Parameters:
Name | Type | Default | Description |
---|---|---|---|
location | string | The filename of the video file to import from the user's MediaLibrary/Videos folder |
Example
Instance Methods
video:Select()
Adds this Video Widget to the current selection
Returns: nil
Example
video:Deselect()
Removes this Video Widget from the current selection
Returns: nil
Example
video:Delete()
Deletes this Video Widget
Returns: nil
Example
Last updated