C# Class FlaxEngine.GUI.MaterialBrush

Implementation of IBrush for FlaxEngine.MaterialBase rendering.
Inheritance: IBrush
Mostra file Open project: FlaxEngine/FlaxEngine

Public Methods

Method Description
Draw ( Rectangle rect, Color color ) : void
MaterialBrush ( )

Initializes a new instance of the MaterialBrush class.

MaterialBrush ( Material material )

Initializes a new instance of the MaterialBrush struct.

Method Details

Draw() public method

public Draw ( Rectangle rect, Color color ) : void
rect Rectangle
color Color
return void

MaterialBrush() public method

Initializes a new instance of the MaterialBrush class.
public MaterialBrush ( )

MaterialBrush() public method

Initializes a new instance of the MaterialBrush struct.
public MaterialBrush ( Material material )
material Material The material.