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). |
| 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 | The name of the object. |
| GetInstanceID | Returns the instance id of the object. |
| ToString | Returns the name of the GameObject. |
| Destroy | Удаляет GameObject, Component или 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 | Returns the first active loaded object of Type type. |
| FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
| Instantiate | Clones the object original and returns the clone. |
| bool | Does the object exist? |
| operator != | Compares if two objects refer to a different object. |
| operator == | Compares two object references to see if they refer to the same object. |