s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
Cone
chevron_left
Classes
struct
Cone
search
Constructors
functions
Cone
Fields
crop_din
CenterA
crop_din
CenterB
crop_din
RadiusA
crop_din
RadiusB
Properties
data_object
Bounds
data_object
RandomPointInside
data_object
RandomPointOnEdge
Methods
functions
Contains
functions
GetEdgeDistance
Cone
A tapered shape between two points with a radius at each end. Supports cones and cylinders, with flat ends.
struct
sealed
Sandbox.System
build
Constructors
1
Cone
(
a
,
b
,
ra
,
rb
)
A tapered shape between two points with a radius at each end. Supports cones and cylinders, with flat ends.
crop_din
Fields
4
CenterA
Vector3
Start point.
CenterB
Vector3
End point.
RadiusA
float
Radius at the start.
RadiusB
float
Radius at the end.
data_object
Properties
3
Bounds
BBox
Bounding box that contains the shape.
RandomPointInside
Vector3
Get a random point inside.
RandomPointOnEdge
Vector3
Get a random point on the surface.
functions
Methods
2
Contains
(
p
)
bool
Check if a point is inside.
GetEdgeDistance
(
p
)
float
Distance from a point to the surface.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.