Class VideoClipImporter
Inheritance
VideoClipImporter
Assembly: UnityEditor.dll
Syntax
public class VideoClipImporter : AssetImporter
Properties
|
Improve this Doc
View Source
defaultTargetSettings
Declaration
public VideoImporterTargetSettings defaultTargetSettings { get; set; }
Property Value
deinterlaceMode
Declaration
public VideoDeinterlaceMode deinterlaceMode { get; set; }
Property Value
flipHorizontal
Declaration
public bool flipHorizontal { get; set; }
Property Value
flipVertical
Declaration
public bool flipVertical { get; set; }
Property Value
frameCount
Declaration
public int frameCount { get; }
Property Value
frameRate
Declaration
public double frameRate { get; }
Property Value
importAudio
Declaration
public bool importAudio { get; set; }
Property Value
isPlayingPreview
Declaration
public bool isPlayingPreview { get; }
Property Value
keepAlpha
Declaration
public bool keepAlpha { get; set; }
Property Value
linearColor
Declaration
public bool linearColor { get; set; }
Property Value
outputFileSize
Declaration
public ulong outputFileSize { get; }
Property Value
pixelAspectRatioDenominator
Declaration
public int pixelAspectRatioDenominator { get; }
Property Value
pixelAspectRatioNumerator
Declaration
public int pixelAspectRatioNumerator { get; }
Property Value
quality
Declaration
public float quality { get; set; }
Property Value
sourceAudioTrackCount
Declaration
public ushort sourceAudioTrackCount { get; }
Property Value
sourceFileSize
Declaration
public ulong sourceFileSize { get; }
Property Value
sourceHasAlpha
Declaration
public bool sourceHasAlpha { get; }
Property Value
transcodeSkipped
Declaration
public bool transcodeSkipped { get; }
Property Value
useLegacyImporter
Declaration
public bool useLegacyImporter { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ClearTargetSettings(String)
Declaration
public void ClearTargetSettings(string platform)
Parameters
Type |
Name |
Description |
String |
platform |
|
Equals(VideoClipImporter)
Declaration
public bool Equals(VideoClipImporter rhs)
Parameters
Returns
GetPreviewTexture()
Declaration
public Texture GetPreviewTexture()
Returns
GetResizeHeight(VideoResizeMode)
Declaration
public int GetResizeHeight(VideoResizeMode mode)
Parameters
Returns
GetResizeModeName(VideoResizeMode)
Declaration
public string GetResizeModeName(VideoResizeMode mode)
Parameters
Returns
GetResizeWidth(VideoResizeMode)
Declaration
public int GetResizeWidth(VideoResizeMode mode)
Parameters
Returns
GetSourceAudioChannelCount(UInt16)
Declaration
public ushort GetSourceAudioChannelCount(ushort audioTrackIdx)
Parameters
Type |
Name |
Description |
UInt16 |
audioTrackIdx |
|
Returns
GetSourceAudioSampleRate(UInt16)
Declaration
public uint GetSourceAudioSampleRate(ushort audioTrackIdx)
Parameters
Type |
Name |
Description |
UInt16 |
audioTrackIdx |
|
Returns
|
Improve this Doc
View Source
GetTargetSettings(String)
Declaration
public VideoImporterTargetSettings GetTargetSettings(string platform)
Parameters
Type |
Name |
Description |
String |
platform |
|
Returns
PlayPreview()
Declaration
public void PlayPreview()
|
Improve this Doc
View Source
SetTargetSettings(String, VideoImporterTargetSettings)
Declaration
public void SetTargetSettings(string platform, VideoImporterTargetSettings settings)
Parameters
StopPreview()
Declaration
public void StopPreview()
Extension Methods