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:

ПараметрТипОписание
coordinateSystemCoordinateSystemКоординатная система, используемая в этой системе осей
upAxisВектор вверх системы осей

AxisSystem(Axis up, Axis front)

public AxisSystem(Axis up, Axis front)

Создаёт новую систему осей

Parameters:

ПараметрТипОписание
upAxisВектор вверх системы осей
frontAxisВектор вперёд системы осей

AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

public AxisSystem(CoordinateSystem coordinateSystem, Axis up, Axis front)

Создаёт новую систему осей

Parameters:

ПараметрТипОписание
coordinateSystemCoordinateSystemКоординатная система, используемая в этой системе осей
upAxisВектор вверх системы осей
frontAxisВектор вперёд системы осей

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ПараметрТипОписание
arg0java.lang.Object

Returns: boolean

fromAssetInfo(AssetInfo assetInfo)

public static AxisSystem fromAssetInfo(AssetInfo assetInfo)

Создать AxisSystem из AssetInfo

Parameters:

ПараметрТипОписание
assetInfoAssetInfoИз какой информации об активе считывать координатную систему, вектор вверх и вектор вперёд.

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:

ПараметрТипОписание
targetSystemAxisSystemЦелевая система осей

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:

ПараметрТипОписание
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ПараметрТипОписание
arg0long
arg1int