C# 클래스 UnityEngine.LineRenderer

상속: Renderer
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
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