Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Meta data that describes the position of the volume inside the grid.
Public Member Functions | |
GridSpace (Volume volume, Coordinate position) | |
bool | IsConsumedWith (GridSpace with) |
Checks is a volume fully in bounds of another one. More... | |
override string | ToString () |
object | Clone () |
Static Public Member Functions | |
static bool | AABB (GridSpace a, GridSpace b) |
Checks is the 2 grid spaces intersect each other. More... | |
Properties | |
Volume | volume [get, set] |
Volume related to the grid. | |
Coordinate | position [get, set] |
Coordinates of the volume inside the grid. More... | |
|
static |
Checks is the 2 grid spaces intersect each other.
a | First volumetric space. |
b | Second volumetric space. |
true
in case if intersects. false
otherwise.bool Doloro.InvetorySystem.Features.VolumetricSpace.GridSpace.IsConsumedWith | ( | GridSpace | with | ) |
Checks is a volume fully in bounds of another one.
with | Bigger or equal volume that possibly consumes the volume. |
true
in the volume is totally in bounds of with
volume. false
otherwise.
|
getset |
Coordinates of the volume inside the grid.
Rotation parameters describes the rotation of the origin object required to fit the volume.