C# Class Reign.Core.BoundingSphere3

Show file Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
Center Vector3
Radius float

Public Methods

Method Description
BoundingSphere3 ( Vector3 center, float radius ) : System.Runtime.InteropServices
Intersects ( BoundingBox3 boundingBox ) : bool
Intersects ( BoundingSphere3 &boundingSphere, BoundingBox3 &boundingBox, bool &result ) : void

Method Details

BoundingSphere3() public method

public BoundingSphere3 ( Vector3 center, float radius ) : System.Runtime.InteropServices
center Vector3
radius float
return System.Runtime.InteropServices

Intersects() public method

public Intersects ( BoundingBox3 boundingBox ) : bool
boundingBox BoundingBox3
return bool

Intersects() public static method

public static Intersects ( BoundingSphere3 &boundingSphere, BoundingBox3 &boundingBox, bool &result ) : void
boundingSphere BoundingSphere3
boundingBox BoundingBox3
result bool
return void

Property Details

Center public property

public Vector3,Reign.Core Center
return Vector3

Radius public property

public float Radius
return float