Struct Sphere
Represents a Sphere
Namespace: LeagueToolkit.Core.Primitives
Assembly: LeagueToolkit.dll
Syntax
public struct Sphere
Constructors
| Improve this Doc View SourceSphere(Vector3, Single)
Creates a new Sphere object with the specified parameters
Declaration
public Sphere(Vector3 position, float radius)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | position | The position of the Sphere |
System.Single | radius | The radius of the Sphere |
Fields
| Improve this Doc View SourceINFINITE
Represents a Sphere located at
Declaration
public static readonly Sphere INFINITE
Field Value
Type | Description |
---|---|
Sphere |
Position
The sphere's position
Declaration
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
Radius
The sphere's radius
Declaration
public float Radius
Field Value
Type | Description |
---|---|
System.Single |