C# Class JBooth.VertexPainterPro.PaintJob

显示文件 Open project: slipster216/VertexPaint Class Usage Examples

Public Properties

Property Type Description
_stream VertexInstanceStream
meshFilter UnityEngine.MeshFilter
normals UnityEngine.Vector3[]
renderer UnityEngine.Renderer
tangents UnityEngine.Vector4[]
vertexConnections List[]
verts UnityEngine.Vector3[]

Public Methods

Method Description
CaptureMat ( ) : void
EnforceStream ( ) : void
GetNormal ( int i ) : Vector3
GetPosition ( int i ) : Vector3
GetTangent ( int i ) : Vector4
HasData ( ) : bool
HasStream ( ) : bool
InitMeshConnections ( ) : void
PaintJob ( MeshFilter mf, Renderer r ) : System.Collections

Method Details

CaptureMat() public method

public CaptureMat ( ) : void
return void

EnforceStream() public method

public EnforceStream ( ) : void
return void

GetNormal() public method

public GetNormal ( int i ) : Vector3
i int
return UnityEngine.Vector3

GetPosition() public method

public GetPosition ( int i ) : Vector3
i int
return UnityEngine.Vector3

GetTangent() public method

public GetTangent ( int i ) : Vector4
i int
return UnityEngine.Vector4

HasData() public method

public HasData ( ) : bool
return bool

HasStream() public method

public HasStream ( ) : bool
return bool

InitMeshConnections() public method

public InitMeshConnections ( ) : void
return void

PaintJob() public method

public PaintJob ( MeshFilter mf, Renderer r ) : System.Collections
mf UnityEngine.MeshFilter
r UnityEngine.Renderer
return System.Collections

Property Details

_stream public_oe property

public VertexInstanceStream,JBooth.VertexPainterPro _stream
return VertexInstanceStream

meshFilter public_oe property

public MeshFilter,UnityEngine meshFilter
return UnityEngine.MeshFilter

normals public_oe property

public Vector3[],UnityEngine normals
return UnityEngine.Vector3[]

renderer public_oe property

public Renderer,UnityEngine renderer
return UnityEngine.Renderer

tangents public_oe property

public Vector4[],UnityEngine tangents
return UnityEngine.Vector4[]

vertexConnections public_oe property

public List[] vertexConnections
return List[]

verts public_oe property

public Vector3[],UnityEngine verts
return UnityEngine.Vector3[]