Class BrushSurface
Represents a part of the CSG brush actor. Contains information about single surface.
Inheritance
System.Object
BrushSurface
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BrushSurface : ValueType
Fields
Material
The material used to render the brush surface.
Declaration
[EditorOrder(10)]
[EditorDisplay("Brush", null)]
public MaterialBase Material
Field Value
MaterialBase
|
ScaleInLightmap
The scale in lightmap (per surface).
Declaration
[EditorOrder(20)]
[EditorDisplay("Brush", "Scale In Lightmap")]
[Limit(0F, 10000F, 0.1F)]
public float ScaleInLightmap
Field Value
System.Single
|
TexCoordOffset
The surface texture coordinates offset.
Declaration
[EditorOrder(40)]
[EditorDisplay("Brush", "UV Offset")]
[Limit(-1000F, 1000F, 0.01F)]
public Float2 TexCoordOffset
Field Value
Float2
|
TexCoordRotation
The surface texture coordinates rotation angle (in degrees).
Declaration
[EditorOrder(50)]
[EditorDisplay("Brush", "UV Rotation")]
public float TexCoordRotation
Field Value
System.Single
|
TexCoordScale
The surface texture coordinates scale.
Declaration
[EditorOrder(30)]
[EditorDisplay("Brush", "UV Scale")]
[Limit(-1000F, 1000F, 0.01F)]
public Float2 TexCoordScale
Field Value
Float2
|
Properties
Default
The default BrushSurface.
Declaration
public static BrushSurface Default { get; }
Property Value
BrushSurface
|