Class VideoManager
Implements the video manager.
Inheritance
System.Object
VideoManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public class VideoManager
Properties
Instance
Creates an instance of VideoManager.
Declaration
public static VideoManager Instance { get; }
Property Value
Type | Description |
---|---|
VideoManager |
Methods
LoadVideoFromCamera(Int32, Boolean)
Loads video directly of a camera.
Declaration
public IVideoStreamImp LoadVideoFromCamera(int cameraIndex = 0, bool useAudio = false)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cameraIndex | |
System.Boolean | useAudio |
Returns
Type | Description |
---|---|
IVideoStreamImp |
LoadVideoFromFile(String, Boolean, Boolean)
Loads a video file.
Declaration
public IVideoStreamImp LoadVideoFromFile(string filename, bool loopVideo, bool useAudio = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | |
System.Boolean | loopVideo | |
System.Boolean | useAudio |
Returns
Type | Description |
---|---|
IVideoStreamImp |