![]() |
Class managing brush information. More...
Public Types | |
| enum | ColorBlendType { ColorBlendType.UseColor, ColorBlendType.UseBrush, ColorBlendType.Neutral, ColorBlendType.AlphaOnly } |
| Color synthesis method. More... | |
| enum | NormalBlendType { NormalBlendType.UseBrush, NormalBlendType.Add, NormalBlendType.Sub, NormalBlendType.Min, NormalBlendType.Max } |
| Brush normal information synthesis method. More... | |
| enum | HeightBlendType { HeightBlendType.UseBrush, HeightBlendType.Add, HeightBlendType.Sub, HeightBlendType.Min, HeightBlendType.Max, HeightBlendType.ColorRGB_HeightA } |
| Brush height information synthesis method. More... | |
Public Member Functions | |
| Brush (Texture brushTex, float scale, Color color) | |
| Brush (Texture brushTex, float scale, Color color, ColorBlendType colorBlending) | |
| Brush (Texture brushTex, float scale, Color color, Texture normalTex, float normalBlend) | |
| Brush (Texture brushTex, float scale, Color color, Texture normalTex, float normalBlend, ColorBlendType colorBlending, NormalBlendType normalBlending) | |
| Brush (Texture brushTex, float scale, Color color, Texture normalTex, float normalBlend, Texture heightTex, float heightBlend, ColorBlendType colorBlending, NormalBlendType normalBlending, HeightBlendType heightBlending) | |
| object | Clone () |
Properties | |
| Texture | BrushTexture [get, set] |
| Brush texture. More... | |
| Texture | BrushNormalTexture [get, set] |
| Brush's normal texture More... | |
| Texture | BrushHeightTexture [get, set] |
| Brush height texture. More... | |
| float | Scale [get, set] |
| The size of the brush. It takes a range from 0 to 1. More... | |
| float | RotateAngle [get, set] |
| Rotate angle of the brush. More... | |
| float | NormalBlend [get, set] |
| Blending coefficient of normal information. It takes a range from 0 to 1. More... | |
| float | HeightBlend [get, set] |
| Blending factor of height information. It takes a range from 0 to 1. More... | |
| Color | Color [get, set] |
| The color of the brush. More... | |
| ColorBlendType | ColorBlending [get, set] |
| Color synthesis method. More... | |
| NormalBlendType | NormalBlending [get, set] |
| Brush normal information synthesis method. More... | |
| HeightBlendType | HeightBlending [get, set] |
| Brush height information synthesis method. More... | |
Class managing brush information.
|
strong |
|
strong |
Brush height information synthesis method.
|
strong |
Brush normal information synthesis method.
| Enumerator | |
|---|---|
| UseBrush | Use the value set for the brush. |
| Add | Add and synthesize. |
| Sub | Subtract and synthesize. |
| Min | Use the minimum value. |
| Max | Use the maximum value. |
|
getset |
Brush height texture.
|
getset |
Brush's normal texture
|
getset |
Brush texture.
|
getset |
The color of the brush.
|
getset |
Color synthesis method.
|
getset |
Blending factor of height information. It takes a range from 0 to 1.
|
getset |
Brush height information synthesis method.
|
getset |
Blending coefficient of normal information. It takes a range from 0 to 1.
|
getset |
Brush normal information synthesis method.
|
getset |
Rotate angle of the brush.
|
getset |
The size of the brush. It takes a range from 0 to 1.