C# 클래스 LineDrawer

상속: MonoBehaviour
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MaterialLine Material

보호된 메소드들

메소드 설명
Draw_AnimatedBox ( AnimatedBox box ) : bool
Draw_Box ( Vector3 center, Quaternion rotation, Color color, Vector3 halfSize, float lineWidth = DefaultLineWidth ) : bool
Draw_Circle ( Vector3 center, Vector3 normal, Color color, float radius = 0.25f, float lineWidth = DefaultLineWidth ) : bool
Draw_Circle_Partial ( Vector3 center, Vector3 normal, Color color, float radius = 0.25f, float lineWidth = DefaultLineWidth, float circleAngleArc = 360.0f ) : bool
Draw_Cube ( Vector3 point, Color color, float halfSize = DefaultLineWidth ) : bool
Draw_Line ( Vector3 start, Vector3 end, Color colorStart, Color colorEnd, float lineWidth = DefaultLineWidth ) : bool
Draw_TransformBasis ( Transform transformToDraw, float basisLength = DefaultBasisLength, float lineWidth = DefaultLineWidth*2.0f ) : bool
LineDraw_Begin ( ) : void
LineDraw_End ( bool needsUpdate ) : void
OnDestroy ( ) : void

비공개 메소드들

메소드 설명
Lines_LineDataToMesh ( ) : void

메소드 상세

Draw_AnimatedBox() 보호된 메소드

protected Draw_AnimatedBox ( AnimatedBox box ) : bool
box AnimatedBox
리턴 bool

Draw_Box() 보호된 메소드

protected Draw_Box ( Vector3 center, Quaternion rotation, Color color, Vector3 halfSize, float lineWidth = DefaultLineWidth ) : bool
center Vector3
rotation Quaternion
color Color
halfSize Vector3
lineWidth float
리턴 bool

Draw_Circle() 보호된 메소드

protected Draw_Circle ( Vector3 center, Vector3 normal, Color color, float radius = 0.25f, float lineWidth = DefaultLineWidth ) : bool
center Vector3
normal Vector3
color Color
radius float
lineWidth float
리턴 bool

Draw_Circle_Partial() 보호된 메소드

protected Draw_Circle_Partial ( Vector3 center, Vector3 normal, Color color, float radius = 0.25f, float lineWidth = DefaultLineWidth, float circleAngleArc = 360.0f ) : bool
center Vector3
normal Vector3
color Color
radius float
lineWidth float
circleAngleArc float
리턴 bool

Draw_Cube() 보호된 메소드

protected Draw_Cube ( Vector3 point, Color color, float halfSize = DefaultLineWidth ) : bool
point Vector3
color Color
halfSize float
리턴 bool

Draw_Line() 보호된 메소드

protected Draw_Line ( Vector3 start, Vector3 end, Color colorStart, Color colorEnd, float lineWidth = DefaultLineWidth ) : bool
start Vector3
end Vector3
colorStart Color
colorEnd Color
lineWidth float
리턴 bool

Draw_TransformBasis() 보호된 메소드

protected Draw_TransformBasis ( Transform transformToDraw, float basisLength = DefaultBasisLength, float lineWidth = DefaultLineWidth*2.0f ) : bool
transformToDraw Transform
basisLength float
lineWidth float
리턴 bool

LineDraw_Begin() 보호된 메소드

protected LineDraw_Begin ( ) : void
리턴 void

LineDraw_End() 보호된 메소드

protected LineDraw_End ( bool needsUpdate ) : void
needsUpdate bool
리턴 void

OnDestroy() 보호된 메소드

protected OnDestroy ( ) : void
리턴 void

프로퍼티 상세

MaterialLine 공개적으로 프로퍼티

public Material MaterialLine
리턴 Material