C# Класс UnityEngine.LineRenderer

Наследование: Renderer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GetPosition() публичный Метод

Get the position of the vertex in the line.

public GetPosition ( int index ) : Vector3
index int The index of the position to retrieve.
Результат Vector3

SetPosition() публичный Метод

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.
Результат void