C# Class Reign.Core.BoundingSphere2

Afficher le fichier Open project: reignstudios/ReignSDK Class Usage Examples

Méthodes publiques

Свойство Type Description
Center Vector2
Radius float

Méthodes publiques

Méthode Description
BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
Intersects ( BoundingBox2 boundingBox ) : bool
Intersects ( BoundingSphere2 &boundingSphere, BoundingBox2 &boundingBox, bool &result ) : void

Method Details

BoundingSphere2() public méthode

public BoundingSphere2 ( Vector2 center, float radius ) : System.Runtime.InteropServices
center Vector2
radius float
Résultat System.Runtime.InteropServices

Intersects() public méthode

public Intersects ( BoundingBox2 boundingBox ) : bool
boundingBox BoundingBox2
Résultat bool

Intersects() public static méthode

public static Intersects ( BoundingSphere2 &boundingSphere, BoundingBox2 &boundingBox, bool &result ) : void
boundingSphere BoundingSphere2
boundingBox BoundingBox2
result bool
Résultat void

Property Details

Center public_oe property

public Vector2,Reign.Core Center
Résultat Vector2

Radius public_oe property

public float Radius
Résultat float