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 | ¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario? |
name | El nombre del objeto. |
GetInstanceID | Devuelve el id de la instancia del objeto. |
ToString | Devuelve el nombre del objeto. |
Destroy | Elimina un gameobject, componente o asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Hace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena. |
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. |