C# 클래스 Reign.Core.BoundingSphere2

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

공개 프로퍼티들

프로퍼티 타입 설명
Center Vector2
Radius float

공개 메소드들

메소드 설명
BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
Intersects ( BoundingBox2 boundingBox ) : bool
Intersects ( BoundingSphere2 &boundingSphere, BoundingBox2 &boundingBox, bool &result ) : void

메소드 상세

BoundingSphere2() 공개 메소드

public BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
center Vector2
radius float
리턴 System.Runtime.InteropServices

Intersects() 공개 메소드

public Intersects ( BoundingBox2 boundingBox ) : bool
boundingBox BoundingBox2
리턴 bool

Intersects() 공개 정적인 메소드

public static Intersects ( BoundingSphere2 &boundingSphere, BoundingBox2 &boundingBox, bool &result ) : void
boundingSphere BoundingSphere2
boundingBox BoundingBox2
result bool
리턴 void

프로퍼티 상세

Center 공개적으로 프로퍼티

public Vector2,Reign.Core Center
리턴 Vector2

Radius 공개적으로 프로퍼티

public float Radius
리턴 float