Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Implements the volumetric space.
Public Member Functions | |
Volume (Vector3 size) | |
Volume (float x, float y, float z) | |
object | Clone () |
Clones the volume data to the new instance. More... | |
override string | ToString () |
override bool | Equals (object obj) |
bool | Equals (Volume other) |
override int | GetHashCode () |
Static Public Member Functions | |
static implicit | operator Vector3 (Volume volume) |
static implicit | operator Volume (Vector3 volume) |
static bool | operator== (Volume left, Volume right) |
static bool | operator!= (Volume left, Volume right) |
Public Attributes | |
Func< float, float, float, bool > | SizePreValidator |
Handler that can defined to pre-moderate the applying values. In case of the false return the value set will be blocked. | |
Package Functions | |
void | ApplyRotation (Coordinate rotation) |
Rotates sides along with axises provided with Coordinate order. More... | |
void | ApplyRotation (bool rotateX, bool rotateY, bool rotateZ) |
Rotates sides along with axises. More... | |
Properties | |
float | x [get, set] |
X dimension of the volume. More... | |
float | y [get, set] |
Y dimension of the volume. More... | |
float | z [get, set] |
Z dimension of the volume. More... | |
float | size [get] |
Current cube volume. | |
Events | |
Action< Volume > | Resized |
Occurs when any of dimension parameters is modified. | |
|
package |
Rotates sides along with axises.
rotateX | Rotate around X axis. |
rotateY | Rotate around Y axis. |
rotateZ | Rotate around Z axis. |
Rotation goes consistently in order of axis rotations request.
|
package |
Rotates sides along with axises provided with Coordinate order.
rotation | Coordinates to apply. |
object Doloro.InvetorySystem.Features.VolumetricSpace.Volume.Clone | ( | ) |
Clones the volume data to the new instance.
|
getset |
X dimension of the volume.
Can't be lesser then 0.
|
getset |
Y dimension of the volume.
Can't be lesser then 0.
|
getset |
Z dimension of the volume.
Can't be lesser then 0.