VideoClipImporter lets you modify VideoClip import settings from Editor scripts.
See the Movie File Format Support Notes section in the VideoPlayer class documentation for supported movie file formats and encoding guidelines.
defaultTargetSettings | Default values for the platform-specific import settings. |
deinterlaceMode | Images are deinterlaced during transcode. This tells the importer how to interpret fields in the source, if any. |
flipHorizontal | Apply a horizontal flip during import. |
flipVertical | Apply a vertical flip during import. |
frameCount | Number of frames in the clip. |
frameRate | Frame rate of the clip. |
importAudio | Import audio tracks from source file. |
isPlayingPreview | Whether the preview is currently playing. |
keepAlpha | Whether to keep the alpha from the source into the transcoded clip. |
linearColor | Used in legacy import mode. Same as MovieImport.linearTexture. |
outputFileSize | Size in bytes of the file once imported. |
quality | Used in legacy import mode. Same as MovieImport.quality. |
sourceAudioTrackCount | Number of audio tracks in the source file. |
sourceFileSize | Size in bytes of the file before importing. |
sourceHasAlpha | True if the source file has a channel for per-pixel transparency. |
useLegacyImporter | Whether to import a MovieTexture (legacy) or a VideoClip. |
ClearTargetSettings | Clear the platform-specific import settings for the specified platform, causing them to go back to the default settings. |
GetPreviewTexture | Returns a texture with the transcoded clip's current frame. Returns frame 0 when not playing, and frame at current time when playing. |
GetResizeHeight | Get the resulting height of the resize operation for the specified resize mode. |
GetResizeModeName | Get the full name of the resize operation for the specified resize mode. |
GetResizeWidth | Get the resulting width of the resize operation for the specified resize mode. |
GetSourceAudioChannelCount | Number of audio channels in the specified source track. |
GetSourceAudioSampleRate | Sample rate of the specified audio track. |
GetTargetSettings | Returns the platform-specific import settings for the specified platform. |
PlayPreview | Starts preview playback. |
SetTargetSettings | Sets the platform-specific import settings for the specified platform. |
StopPreview | Stops preview playback. |
assetBundleName | Get or set the AssetBundle name. |
assetBundleVariant | Get or set the AssetBundle variant. |
assetPath | The path name of the asset for this importer. (Read Only) |
userData | Get or set any user data. |
hideFlags | ¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario? |
name | El nombre del objeto. |
SaveAndReimport | Save asset importer settings if asset importer is dirty. |
SetAssetBundleNameAndVariant | Set the AssetBundle name and variant. |
GetInstanceID | Devuelve el id de la instancia del objeto. |
ToString | Devuelve el nombre del objeto. |
GetAtPath | Retrieves the asset importer for the asset at path. |
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. |