API Referenceglobal
public sealed struct Cone
A tapered shape between two points with a radius at each end. Supports cones and cylinders, with flat ends.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
No results match this filter.
Methods
Showing 2 methods
public bool Contains(Vector3 p)
Check if a point is inside.
public float GetEdgeDistance(Vector3 p)
Distance from a point to the surface.
No results match this filter.
Properties
Showing 3 properties
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Cone |