Version: 2017.2

MovieTexture

class in UnityEngine

/

Hereda de:Texture

Cambiar al Manual

Descripción

Movie Textures are textures onto which movies are played back.

They can be used for cutscene movie sequences, or to render movies into the scene itself.

Variables

audioClipReturns the AudioClip belonging to the MovieTexture.
durationThe time, in seconds, that the movie takes to play back completely.
isPlayingReturns whether the movie is playing or not.
isReadyToPlayIf the movie is downloading from a web site, this returns if enough data has been downloaded so playback should be able to start without interruptions.
loopSet this to true to make the movie loop.

Funciones Públicas

PausePauses playing the movie.
PlayStarts playing the movie.
StopStops playing the movie, and rewinds it to the beginning.

Miembros heredados

Variables

hideFlags¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario?
nameEl nombre del objeto.
anisoLevelNivel de filtrado anisotrópico de la textura.
dimensionDimensionalidad (tipo) de la textura (lectura solamente).
filterModeModo de filtrado de la textura.
heightAltura de la textura en pixels. (Read Only)
mipMapBiasMip map bias de la textura.
widthAnchura de la textura en píxeles. (Read Only)
wrapModeTexture coordinate wrapping mode.
wrapModeUTexture U coordinate wrapping mode.
wrapModeVTexture V coordinate wrapping mode.
wrapModeWTexture W coordinate wrapping mode for Texture3D.

Funciones Públicas

GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringDevuelve el nombre del objeto.
GetNativeTexturePtrRecupere un puntero nativo (API de gráficos subyacente) al recurso de textura.

Funciones Estáticas

DestroyElimina un gameobject, componente o asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadHace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.
SetGlobalAnisotropicFilteringLimitsEstablece límites anisotrópicos.

Operadores

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.