FBox3

public FVector3 Min

Language: C#

The minimum corner of the box.

public FVector3 Max

Language: C#

The maximum corner of the box.

public FVector3 Center

Language: C#

The center point of the box.

public FVector3 Size

Language: C#

The size of the box along each dimension.

public FVector3 HalfSize

Language: C#

Half the size of the box along each dimension.

public FBox3(FVector3 min, FVector3 max)

Language: C#

Constructs a box from minimum and maximum corner vectors.

public FBox3(float min0, float min1, float min2, float max0, float max1, float max2)

Language: C#

Constructs a box from individual minimum and maximum components.

public FBox3(FBox3 original)

Language: C#

Copy constructor.

public static FBox3 Union(FBox3 a, FBox3 b)

Language: C#

Creates the union of two boxes.

public static FBox3 Union(FBox3 a, FVector3 b)

Language: C#

Creates the union of box and vector.

public static FBox3 Intersection(FBox3 a, FBox3 b)

Language: C#

Creates the intersection of two boxes.

public static bool SphereIntersection(FBox3 box, FVector3 origin, float radius)

Language: C#

Checks if a sphere intersects with the box.

public static float Distance(FBox3 box, FVector3 point)

Language: C#

Calculates the distance from a point to the box.

public static float Distance(FBox3 a, FBox3 b)

Language: C#

Calculates the distance between two boxes.

public bool ContainsInclusive(FVector3 point)

Language: C#

Checks if a point is inside the box (inclusive).

public bool ContainsExclusive(FVector3 point)

Language: C#

Checks if a point is inside the box (exclusive).

public bool ContainsInclusive(FBox3 point)

Language: C#

Checks if another box is entirely inside this box (inclusive).

public bool ContainsExclusive(FBox3 point)

Language: C#

Checks if another box is entirely inside this box (exclusive).

public override string ToString()

Language: C#

Returns a string representation of the box.

public bool Collides(FBox3 aabb)

Language: C#

Checks if this box collides with another box.