Class VideoBrush
Implementation of IBrush for Video
Inheritance
System.Object
VideoBrush
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class VideoBrush : Object, IBrush
Constructors
VideoBrush()
VideoBrush(VideoPlayer)
Initializes a new instance of the Video
Declaration
public VideoBrush(VideoPlayer player)
Parameters
Video The video player to preview. |
Fields
Filter
The texture sampling filter mode.
Declaration
[ExpandGroups]
public BrushFilter Filter
Field Value
Player
The video player to display frame from it.
Declaration
public VideoPlayer Player
Field Value
Properties
Size
Gets the size of the image brush in pixels (if relevant).
Declaration
public Float2 Size { get; }
Property Value
Implements
Methods
Draw(Rectangle, Color)
Draws the specified image using Render2D graphics backend.
Declaration
public void Draw(Rectangle rect, Color color)