Class UniformColorVideoSource
A video source producing some colored frames generated programmatically.
Inherited Members
Namespace: Microsoft.MixedReality.WebRTC.Unity
Assembly: cs.temp.dll.dll
Syntax
public class UniformColorVideoSource : CustomVideoSource<Argb32VideoFrameStorage>
Fields
Colors
List of colors to cycle through.
Declaration
public List<Color32> Colors
Field Value
Type | Description |
---|---|
List<Color32> |
Speed
Color cycling speed, in change per second.
Declaration
public float Speed
Field Value
Type | Description |
---|---|
Single |
Methods
OnFrameRequested(FrameRequest)
Declaration
protected override void OnFrameRequested(in FrameRequest request)
Parameters
Type | Name | Description |
---|---|---|
FrameRequest | request |
Overrides
Microsoft.MixedReality.WebRTC.Unity.CustomVideoSource<Argb32VideoFrameStorage>.OnFrameRequested(FrameRequest)
Start()
Declaration
protected void Start()
Update()
Declaration
protected void Update()
UpdateBuffer()
Declaration
protected void UpdateBuffer()