C# Class UnityEngine.LineRenderer

Inheritance: Renderer
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetPosition ( int index ) : Vector3

Get the position of the vertex in the line.

SetPosition ( int index, Vector3 position ) : void

Set the position of the vertex in the line.

Private Methods

Method Description
GetPositions ( Vector3 positions ) : int
INTERNAL_CALL_GetPosition ( LineRenderer self, int index, Vector3 &value ) : void
INTERNAL_CALL_SetPosition ( LineRenderer self, int index, Vector3 &position ) : void
INTERNAL_get_endColor ( Color &value ) : void
INTERNAL_get_startColor ( Color &value ) : void
INTERNAL_set_endColor ( Color &value ) : void
INTERNAL_set_startColor ( Color &value ) : void
SetColors ( Color start, Color end ) : void
SetPositions ( Vector3 positions ) : void
SetVertexCount ( int count ) : void
SetWidth ( float start, float end ) : void

Method Details

GetPosition() public method

Get the position of the vertex in the line.

public GetPosition ( int index ) : Vector3
index int The index of the position to retrieve.
return Vector3

SetPosition() public method

Set the position of the vertex in the line.

public SetPosition ( int index, Vector3 position ) : void
index int Which position to set.
position Vector3 The new position.
return void