Struct Bounds3
World-space axis-aligned bounds.
Implements
Inherited Members
Namespace: Simple3D.Core
Assembly: Simple3D.Core.dll
Syntax
public readonly record struct Bounds3 : IEquatable<Bounds3>
Constructors
| Edit this page View SourceBounds3(Vector3, Vector3)
World-space axis-aligned bounds.
Declaration
public Bounds3(Vector3 Min, Vector3 Max)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | Min | Minimum coordinates. |
| Vector3 | Max | Maximum coordinates. |
Properties
| Edit this page View SourceCenter
Center of the bounds.
Declaration
public Vector3 Center { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Max
Maximum coordinates.
Declaration
public Vector3 Max { get; init; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Min
Minimum coordinates.
Declaration
public Vector3 Min { get; init; }
Property Value
| Type | Description |
|---|---|
| Vector3 |
Size
Dimensions of the bounds.
Declaration
public Vector3 Size { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |