C# Class JBooth.VertexPainterPro.VertexInstanceStream

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: slipster216/VertexPaint Class Usage Examples

Public Properties

Property Type Description
vertexShaderMat UnityEngine.Material

Public Methods

Method Description
Apply ( bool markNoLongerReadable = true ) : Mesh
GetModifierMesh ( ) : Mesh
SetColor ( Color c, int count ) : void
SetColorBA ( Vector2 ba, int count ) : void
SetColorRG ( Vector2 rg, int count ) : void
SetUV0 ( Vector4 uv, int count ) : void
SetUV0_XY ( Vector2 uv, int count ) : void
SetUV0_ZW ( Vector2 uv, int count ) : void
SetUV1 ( Vector4 uv, int count ) : void
SetUV1_XY ( Vector2 uv, int count ) : void
SetUV1_ZW ( Vector2 uv, int count ) : void
SetUV2 ( Vector4 uv, int count ) : void
SetUV2_XY ( Vector2 uv, int count ) : void
SetUV2_ZW ( Vector2 uv, int count ) : void
SetUV3 ( Vector4 uv, int count ) : void
SetUV3_XY ( Vector2 uv, int count ) : void
SetUV3_ZW ( Vector2 uv, int count ) : void

Private Methods

Method Description
Awake ( ) : void
EnforceOriginalMeshHasColors ( Mesh stream ) : void
OnDestroy ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Apply() public method

public Apply ( bool markNoLongerReadable = true ) : Mesh
markNoLongerReadable bool
return UnityEngine.Mesh

GetModifierMesh() public method

public GetModifierMesh ( ) : Mesh
return UnityEngine.Mesh

SetColor() public method

public SetColor ( Color c, int count ) : void
c Color
count int
return void

SetColorBA() public method

public SetColorBA ( Vector2 ba, int count ) : void
ba Vector2
count int
return void

SetColorRG() public method

public SetColorRG ( Vector2 rg, int count ) : void
rg Vector2
count int
return void

SetUV0() public method

public SetUV0 ( Vector4 uv, int count ) : void
uv Vector4
count int
return void

SetUV0_XY() public method

public SetUV0_XY ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV0_ZW() public method

public SetUV0_ZW ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV1() public method

public SetUV1 ( Vector4 uv, int count ) : void
uv Vector4
count int
return void

SetUV1_XY() public method

public SetUV1_XY ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV1_ZW() public method

public SetUV1_ZW ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV2() public method

public SetUV2 ( Vector4 uv, int count ) : void
uv Vector4
count int
return void

SetUV2_XY() public method

public SetUV2_XY ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV2_ZW() public method

public SetUV2_ZW ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV3() public method

public SetUV3 ( Vector4 uv, int count ) : void
uv Vector4
count int
return void

SetUV3_XY() public method

public SetUV3_XY ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

SetUV3_ZW() public method

public SetUV3_ZW ( Vector2 uv, int count ) : void
uv Vector2
count int
return void

Property Details

vertexShaderMat public_oe static_oe property

public static Material,UnityEngine vertexShaderMat
return UnityEngine.Material