C# 클래스 Nomad.Maths.Spline

상속: IDisposable
파일 보기 프로젝트 열기: Azerothian/fc3editor 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Null Spline

보호된 프로퍼티들

프로퍼티 타입 설명
m_splinePtr System.IntPtr

공개 메소드들

메소드 설명
AddPoint ( Vec2 point ) : void
Clear ( ) : void
Create ( ) : Spline
Dispose ( ) : void
Draw ( float penWidth, SplineController controller ) : void
FinalizeSpline ( ) : void
HitTestPoints ( Vec2 point, float penWidth, float hitWidth, int &hitIndex, Vec2 &hitPos ) : bool
HitTestSegments ( Vec2 center, float radius, int &hitIndex, Vec2 &hitPos ) : bool
InsertPoint ( Vec2 point, int index ) : void
OptimizePoint ( int index ) : bool
RemovePoint ( int index ) : void
RemoveSimilarPoints ( ) : bool
Spline ( IntPtr ptr ) : System
UpdateSpline ( ) : void
UpdateSplineHeight ( ) : void
this ( int index ) : Vec2

메소드 상세

AddPoint() 공개 메소드

public AddPoint ( Vec2 point ) : void
point Vec2
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Create() 공개 정적인 메소드

public static Create ( ) : Spline
리턴 Spline

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( float penWidth, SplineController controller ) : void
penWidth float
controller Nomad.Logic.SplineController
리턴 void

FinalizeSpline() 공개 메소드

public FinalizeSpline ( ) : void
리턴 void

HitTestPoints() 공개 메소드

public HitTestPoints ( Vec2 point, float penWidth, float hitWidth, int &hitIndex, Vec2 &hitPos ) : bool
point Vec2
penWidth float
hitWidth float
hitIndex int
hitPos Vec2
리턴 bool

HitTestSegments() 공개 메소드

public HitTestSegments ( Vec2 center, float radius, int &hitIndex, Vec2 &hitPos ) : bool
center Vec2
radius float
hitIndex int
hitPos Vec2
리턴 bool

InsertPoint() 공개 메소드

public InsertPoint ( Vec2 point, int index ) : void
point Vec2
index int
리턴 void

OptimizePoint() 공개 메소드

public OptimizePoint ( int index ) : bool
index int
리턴 bool

RemovePoint() 공개 메소드

public RemovePoint ( int index ) : void
index int
리턴 void

RemoveSimilarPoints() 공개 메소드

public RemoveSimilarPoints ( ) : bool
리턴 bool

Spline() 공개 메소드

public Spline ( IntPtr ptr ) : System
ptr System.IntPtr
리턴 System

UpdateSpline() 공개 메소드

public UpdateSpline ( ) : void
리턴 void

UpdateSplineHeight() 공개 메소드

public UpdateSplineHeight ( ) : void
리턴 void

this() 공개 메소드

public this ( int index ) : Vec2
index int
리턴 Vec2

프로퍼티 상세

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

public static Spline,Nomad.Maths Null
리턴 Spline

m_splinePtr 보호되어 있는 프로퍼티

protected IntPtr,System m_splinePtr
리턴 System.IntPtr