C# 클래스 BasicLineRenderer, UnityUtils

상속: MonoBehaviour
파일 보기 프로젝트 열기: mortennobel/UnityUtils 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
material Material
normals Vector3[]
positions Vector3[]
width float

공개 메소드들

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

메소드 상세

GetNormals() 공개 메소드

public GetNormals ( ) : Vector3[]
리턴 Vector3[]

GetPositions() 공개 메소드

public GetPositions ( ) : Vector3[]
리턴 Vector3[]

GetWidth() 공개 메소드

public GetWidth ( ) : float
리턴 float

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

SetMaterial() 공개 메소드

public SetMaterial ( Material newMaterial ) : void
newMaterial Material
리턴 void

SetNormal() 공개 메소드

public SetNormal ( int index, Vector3 normal ) : void
index int
normal Vector3
리턴 void

SetNormalCount() 공개 메소드

public SetNormalCount ( int count ) : void
count int
리턴 void

SetPosition() 공개 메소드

public SetPosition ( int index, Vector3 position ) : void
index int
position Vector3
리턴 void

SetVertexCount() 공개 메소드

public SetVertexCount ( int count ) : void
count int
리턴 void

SetWidth() 공개 메소드

public SetWidth ( float width ) : void
width float
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateMesh() 공개 메소드

public UpdateMesh ( ) : void
리턴 void

프로퍼티 상세

material 공개적으로 프로퍼티

public Material material
리턴 Material

normals 공개적으로 프로퍼티

public Vector3[] normals
리턴 Vector3[]

positions 공개적으로 프로퍼티

public Vector3[] positions
리턴 Vector3[]

width 공개적으로 프로퍼티

public float width
리턴 float