A container for video data.
A VideoClip stores the video portion of a movie file using a codec that is appropriate for the target platform. VideoClips are referenced by VideoPlayers to play videos.
| audioTrackCount | Number of audio tracks in the clip. |
| frameCount | The length of the VideoClip in frames. (Read Only). |
| frameRate | The frame rate of the clip in frames/second. (Read Only). |
| height | The height of the images in the video clip in pixels. (Read Only). |
| length | The length of the video clip in seconds. (Read Only). |
| originalPath | The video clip path in the project's assets. (Read Only). |
| pixelAspectRatioDenominator | Denominator of the pixel aspect ratio (num:den). (Read Only). |
| pixelAspectRatioNumerator | Numerator of the pixel aspect ratio (num:den). (Read Only). |
| sRGB | Whether the imported clip contains sRGB color data (Read Only). |
| width | The width of the images in the video clip in pixels. (Read Only). |
| GetAudioChannelCount | The number of channels in the audio track. E.g. 2 for a stereo track. |
| GetAudioLanguage | Get the audio track language. Can be unknown. |
| GetAudioSampleRate | Get the audio track sampling rate in Hertz. |
| hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
| name | El nombre del objeto. |
| GetInstanceID | Devuelve el id de la instancia del objeto. |
| ToString | Returns the name of the object. |
| Destroy | Removes a GameObject, component or asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
| FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
| FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. |
| Instantiate | Clona el objeto original y devuelve el clon. |
| bool | ¿Existe el objeto? |
| operator != | Compare si dos objetos se refieren a un objeto diferente. |
| operator == | Compara dos referencias de objeto para ver si se refieren al mismo objeto. |