Sphere
Sandbox.System
Derives from ValueType

Summary

Represents a sphere.

Constructors

Sphere( Vector3 center, float radius, )

Properties

Vector3 Center { get; set; }

Center of the sphere.

float Radius { get; set; }

Radius of the sphere.

Methods

bool Trace( Ray ray, double maxDistance = 1.7976931348623157E+308, )

Performs an intersection test between this sphere and given ray.

override string ToString( )
Overrides ValueType.ToString