Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Features.VolumetricSpace.Coordinate Struct Reference

Detailed Description

Static structure using to define solid position of the Volume instance into the virtual space.

Inheritance diagram for Doloro.InvetorySystem.Features.VolumetricSpace.Coordinate:
Collaboration diagram for Doloro.InvetorySystem.Features.VolumetricSpace.Coordinate:

Public Member Functions

 Coordinate (float x, float y, float z)
 
 Coordinate (float x, float y, float z, bool rotatedX, bool rotatedY, bool rotatedZ)
 
 Coordinate (Coordinate origin, bool rotatedX, bool rotatedY, bool rotatedZ)
 
object Clone ()
 
Volume GetRotatedVolumeCopy (Volume origin)
 Computes new volume size along with the current rotation. More...
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals (object obj)
 
bool Equals (Coordinate other)
 

Static Public Member Functions

static implicit operator Vector3 (Coordinate position)
 
static implicit operator Coordinate (Vector3 position)
 
static bool operator== (Coordinate left, Coordinate right)
 
static bool operator!= (Coordinate left, Coordinate right)
 

Properties

static Coordinate Zero [get]
 
float x [get, set]
 The position of the volume's start point by X axis.
 
float y [get, set]
 The position of the volume's start point by Y axis.
 
float z [get, set]
 The position of the volume's start point by Z axis.
 
bool IsRotatedX [get, set]
 If true then means that the volume rotated around X axis.
 
bool IsRotatedY [get, set]
 If true then means that the volume rotated around Y axis.
 
bool IsRotatedZ [get, set]
 If true then means that the volume rotated around Z axis.
 

Member Function Documentation

◆ GetRotatedVolumeCopy()

Volume Doloro.InvetorySystem.Features.VolumetricSpace.Coordinate.GetRotatedVolumeCopy ( Volume  origin)

Computes new volume size along with the current rotation.

Parameters
originSource volume parameters.
coordsCoordinates to apply.
Returns
New volume with rotated sides.

The documentation for this struct was generated from the following file: