Bounds
More information can be found in the Unity API Reference and maybe in the Unity Manual.
Constructors
Constructor |
Description |
|---|---|
Members
Member |
Description |
|---|---|
Methods
Method |
Description |
|---|---|
Operators
Operator |
Description |
|---|---|
Details
-
class Bounds
-
-
Bounds Bounds()
-
Vector3 center
-
Vector3 extents
-
Vector3 max
-
Vector3 min
-
Vector3 size
-
bool Contains(Vector3 point)
-
void Encapsulate(Vector3 point)
-
void Encapsulate(Bounds bounds)
-
void Expand(float amount)
-
void Expand(Vector3 amount)
-
int GetHashCode()
-
bool IntersectRay(Ray ray)
-
bool IntersectRay(Ray ray, float distance)
-
bool Intersects(Bounds bounds)
-
float SqrDistance(Vector3 point)
-
string ToString()
-
string ToString(string format)
-
Bounds Bounds()