C# 클래스 GLDraw, Octree

파일 보기 프로젝트 열기: Pixelstudio/Octree 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
lineMaterial Material

보호된 프로퍼티들

프로퍼티 타입 설명
clippingBounds Rect
clippingEnabled bool

공개 메소드들

메소드 설명
BeginGroup ( Rect position ) : void
CreateMaterial ( ) : void
DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width ) : void
DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, int segments ) : void
DrawBox ( Rect box, Color color, float width ) : void
DrawBox ( Vector2 topLeftCorner, Vector2 bottomRightCorner, Color color, float width ) : void
DrawLine ( Vector2 start, Vector2 end, Color color, float width ) : void
DrawRoundedBox ( Rect box, float radius, Color color, float width ) : void
EndGroup ( ) : void

보호된 메소드들

메소드 설명
clip_test ( float p, float q, float &u1, float &u2 ) : bool
segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool

비공개 메소드들

메소드 설명
CubeBezier ( Vector2 s, Vector2 st, Vector2 e, Vector2 et, float t ) : Vector2

메소드 상세

BeginGroup() 공개 정적인 메소드

public static BeginGroup ( Rect position ) : void
position Rect
리턴 void

CreateMaterial() 공개 정적인 메소드

public static CreateMaterial ( ) : void
리턴 void

DrawBezier() 공개 정적인 메소드

public static DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width ) : void
start Vector2
startTangent Vector2
end Vector2
endTangent Vector2
color Color
width float
리턴 void

DrawBezier() 공개 정적인 메소드

public static DrawBezier ( Vector2 start, Vector2 startTangent, Vector2 end, Vector2 endTangent, Color color, float width, int segments ) : void
start Vector2
startTangent Vector2
end Vector2
endTangent Vector2
color Color
width float
segments int
리턴 void

DrawBox() 공개 정적인 메소드

public static DrawBox ( Rect box, Color color, float width ) : void
box Rect
color Color
width float
리턴 void

DrawBox() 공개 정적인 메소드

public static DrawBox ( Vector2 topLeftCorner, Vector2 bottomRightCorner, Color color, float width ) : void
topLeftCorner Vector2
bottomRightCorner Vector2
color Color
width float
리턴 void

DrawLine() 공개 정적인 메소드

public static DrawLine ( Vector2 start, Vector2 end, Color color, float width ) : void
start Vector2
end Vector2
color Color
width float
리턴 void

DrawRoundedBox() 공개 정적인 메소드

public static DrawRoundedBox ( Rect box, float radius, Color color, float width ) : void
box Rect
radius float
color Color
width float
리턴 void

EndGroup() 공개 정적인 메소드

public static EndGroup ( ) : void
리턴 void

clip_test() 보호된 정적인 메소드

protected static clip_test ( float p, float q, float &u1, float &u2 ) : bool
p float
q float
u1 float
u2 float
리턴 bool

segment_rect_intersection() 보호된 정적인 메소드

protected static segment_rect_intersection ( Rect bounds, Vector2 &p1, Vector2 &p2 ) : bool
bounds Rect
p1 Vector2
p2 Vector2
리턴 bool

프로퍼티 상세

clippingBounds 보호되어 있는 정적으로 프로퍼티

protected static Rect clippingBounds
리턴 Rect

clippingEnabled 보호되어 있는 정적으로 프로퍼티

protected static bool clippingEnabled
리턴 bool

lineMaterial 공개적으로 정적으로 프로퍼티

public static Material lineMaterial
리턴 Material