AxisSystem
Inheritance: java.lang.Object
public class AxisSystem
Система осей — это комбинация системы координат, вектора вверх и вектора вперёд.
Конструкторы
| Конструктор | Описание |
|---|---|
| AxisSystem(CoordinateSystem coordinateSystem, Axis up) | Создаёт новую систему осей |
| AxisSystem(Axis up, Axis front) | Создаёт новую систему осей |
| AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front) | Создаёт новую систему осей |
Методы
| Метод | Описание |
|---|---|
| equals(Object arg0) | |
| fromAssetInfo(AssetInfo assetInfo) | Создать AxisSystem из AssetInfo |
| getClass() | |
| getCoordinateSystem() | Получает координатную систему этой системы осей. |
| getFront() | Получает вектор вперёд этой системы осей |
| getUp() | Получает вектор вверх этой системы осей. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| transformTo(AxisSystem targetSystem) | Создать матрицу, используемую для преобразования из текущей системы осей в целевую систему осей. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
AxisSystem(CoordinateSystem coordinateSystem, Axis up)
public AxisSystem(CoordinateSystem coordinateSystem, Axis up)
Создаёт новую систему осей
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| coordinateSystem | CoordinateSystem | Координатная система, используемая в этой системе осей |
| up | Axis | Вектор вверх системы осей |
AxisSystem(Axis up, Axis front)
public AxisSystem(Axis up, Axis front)
Создаёт новую систему осей
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| up | Axis | Вектор вверх системы осей |
| front | Axis | Вектор вперёд системы осей |
AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)
public AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)
Создаёт новую систему осей
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| coordinateSystem | CoordinateSystem | Координатная система, используемая в этой системе осей |
| up | Axis | Вектор вверх системы осей |
| front | Axis | Вектор вперёд системы осей |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
fromAssetInfo(AssetInfo assetInfo)
public static AxisSystem fromAssetInfo(AssetInfo assetInfo)
Создать AxisSystem из AssetInfo
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| assetInfo | AssetInfo | Из какой информации об активе считывать координатную систему, вектор вверх и вектор вперёд. |
Returns: AxisSystem - Axis system containg coordinate system, up, front from given asset info
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCoordinateSystem()
public CoordinateSystem getCoordinateSystem()
Получает координатную систему этой системы осей.
Returns: CoordinateSystem - the coordinate system of this axis system.
getFront()
public Axis getFront()
Получает вектор вперёд этой системы осей
Returns: Axis - the front vector of this axis system
getUp()
public Axis getUp()
Получает вектор вверх этой системы осей.
Returns: Axis - the up vector of this axis system.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
transformTo(AxisSystem targetSystem)
public Matrix4 transformTo(AxisSystem targetSystem)
Создать матрицу, используемую для преобразования из текущей системы осей в целевую систему осей.
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| targetSystem | AxisSystem | Целевая система осей |
Returns: Matrix4 - A new transformation matrix to do the axis conversion
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Параметр | Тип | Описание |
|---|---|---|
| arg0 | long | |
| arg1 | int |