C# Class BasicLineRenderer, UnityUtils

Inheritance: MonoBehaviour
Exibir arquivo Open project: mortennobel/UnityUtils Class Usage Examples

Public Properties

Property Type Description
material Material
normals Vector3[]
positions Vector3[]
width float

Public Methods

Method Description
GetNormals ( ) : Vector3[]
GetPositions ( ) : Vector3[]
GetWidth ( ) : float
Initialize ( ) : void
SetMaterial ( Material newMaterial ) : void
SetNormal ( int index, Vector3 normal ) : void
SetNormalCount ( int count ) : void
SetPosition ( int index, Vector3 position ) : void
SetVertexCount ( int count ) : void
SetWidth ( float width ) : void
Start ( ) : void
Update ( ) : void
UpdateMesh ( ) : void

Method Details

GetNormals() public method

public GetNormals ( ) : Vector3[]
return Vector3[]

GetPositions() public method

public GetPositions ( ) : Vector3[]
return Vector3[]

GetWidth() public method

public GetWidth ( ) : float
return float

Initialize() public method

public Initialize ( ) : void
return void

SetMaterial() public method

public SetMaterial ( Material newMaterial ) : void
newMaterial Material
return void

SetNormal() public method

public SetNormal ( int index, Vector3 normal ) : void
index int
normal Vector3
return void

SetNormalCount() public method

public SetNormalCount ( int count ) : void
count int
return void

SetPosition() public method

public SetPosition ( int index, Vector3 position ) : void
index int
position Vector3
return void

SetVertexCount() public method

public SetVertexCount ( int count ) : void
count int
return void

SetWidth() public method

public SetWidth ( float width ) : void
width float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateMesh() public method

public UpdateMesh ( ) : void
return void

Property Details

material public_oe property

public Material material
return Material

normals public_oe property

public Vector3[] normals
return Vector3[]

positions public_oe property

public Vector3[] positions
return Vector3[]

width public_oe property

public float width
return float