Es.InkPainter.Brush Class Reference

Class managing brush information. More...

Inheritance diagram for Es.InkPainter.Brush:

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...
 

Detailed Description

Class managing brush information.

Member Enumeration Documentation

◆ ColorBlendType

Color synthesis method.

Enumerator
UseColor 

Use the color set for the brush.

UseBrush 

Use brush texture as it is.

Neutral 

Use the intermediate color between the color of the brush and the color of the texture.

AlphaOnly 

Only use the alpha value set for the brush.

◆ HeightBlendType

Brush height 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.

ColorRGB_HeightA 

Composite color information to RGB and height to A.

◆ NormalBlendType

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.

Property Documentation

◆ BrushHeightTexture

Texture Es.InkPainter.Brush.BrushHeightTexture
getset

Brush height texture.

◆ BrushNormalTexture

Texture Es.InkPainter.Brush.BrushNormalTexture
getset

Brush's normal texture

◆ BrushTexture

Texture Es.InkPainter.Brush.BrushTexture
getset

Brush texture.

◆ Color

Color Es.InkPainter.Brush.Color
getset

The color of the brush.

◆ ColorBlending

ColorBlendType Es.InkPainter.Brush.ColorBlending
getset

Color synthesis method.

◆ HeightBlend

float Es.InkPainter.Brush.HeightBlend
getset

Blending factor of height information. It takes a range from 0 to 1.

◆ HeightBlending

HeightBlendType Es.InkPainter.Brush.HeightBlending
getset

Brush height information synthesis method.

◆ NormalBlend

float Es.InkPainter.Brush.NormalBlend
getset

Blending coefficient of normal information. It takes a range from 0 to 1.

◆ NormalBlending

NormalBlendType Es.InkPainter.Brush.NormalBlending
getset

Brush normal information synthesis method.

◆ RotateAngle

float Es.InkPainter.Brush.RotateAngle
getset

Rotate angle of the brush.

◆ Scale

float Es.InkPainter.Brush.Scale
getset

The size of the brush. It takes a range from 0 to 1.


The documentation for this class was generated from the following file: