A video widget
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 |
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 |
myVideo = Video.Import("myVideo.mp4")
Adds this Video Widget to the current selection
Returns: nil
myVideo:Select()
Removes this Video Widget from the current selection
Returns: nil
myVideo:Deselect()
Deletes this Video Widget
Returns: nil
myVideo:Delete()