Video::​VideoClip
Object
Video::​VideoClip

class:/TYPE/UnityEngine.Video.VideoClip//, can be loaded from an assetbundle using Video::VideoClip::createfromassetbundle(bundlename,prefabname) /

Parent

Object

Variables
audiotrackcount
readonly System.UInt16 audiotrackcount
framecount
readonly System.UInt64 framecount
framerate
readonly System.Double framerate
height
readonly System.UInt32 height
length
readonly System.Double length
originalpath
readonly System.String originalpath
pixelaspectratiodenominator
readonly System.UInt32 pixelaspectratiodenominator
pixelaspectrationumerator
readonly System.UInt32 pixelaspectrationumerator
srgb
readonly System.Boolean srgb
width
readonly System.UInt32 width
Functions
getaudiochannelcount
System.UInt16 GetAudioChannelCount(
System.UInt16 audioTrackIdx
)

System.UInt16 audioTrackIdx-no documentation

Parameters

audioTrackIdx -

Returns

System.UInt16

getaudiolanguage
System.String GetAudioLanguage(
System.UInt16 audioTrackIdx
)

System.UInt16 audioTrackIdx-no documentation

Parameters

audioTrackIdx -

Returns

System.String

getaudiosamplerate
System.UInt32 GetAudioSampleRate(
System.UInt16 audioTrackIdx
)

System.UInt16 audioTrackIdx-no documentation

Parameters

audioTrackIdx -

Returns

System.UInt32

video::​videoclip::​fromassetbundle
static UnityEngine.Video.VideoClip CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

UnityEngine.Video.VideoClip