OROCHI
 
Loading...
Searching...
No Matches
GxMatrix44 Struct Reference

4×4行列(行優先) More...

#include <GxMatrix.h>

Inheritance diagram for GxMatrix44:
Collaboration diagram for GxMatrix44:

Public Member Functions

初期化
 GxMatrix44 (void)
 デフォルトコンストラクタ(要素は初期化されない)
 
GX_INLINE GxMatrix44 (INIT initType)
 コンストラクタ(引数のタイプで要素を初期化する)
 
GX_INLINE GxMatrix44 (const GxQuaternion &quaternion, const GxVector3 &position)
 コンストラクタ
 
GX_INLINE GxMatrix44 (const GxQuaternion &quaternion)
 コンストラクタ
 
GX_INLINE GxMatrix44 (const GxVector3 &position)
 コンストラクタ
 
GX_INLINE GxMatrix44 (f32 m00, f32 m01, f32 m02, f32 m03, f32 m10, f32 m11, f32 m12, f32 m13, f32 m20, f32 m21, f32 m22, f32 m23, f32 m30, f32 m31, f32 m32, f32 m33)
 コンストラクタ
 
GX_INLINE GxMatrix44 (const GxMatrixAffine &matrix)
 コンストラクタ
 
GX_INLINE GxMatrix44 (const GxMatrix44 &matrix)
 コピーコンストラクタ
 
GX_FORCE_INLINE void initialize (const GxQuaternion &quaternion, const GxVector3 &position)
 初期化
 
操作
GX_FORCE_INLINE const GxMatrix44mulScalar (f32 scalar)
 スカラ乗算
 
GX_FORCE_INLINE const GxMatrix44divScalar (f32 scalar)
 スカラ除算
 
GX_FORCE_INLINE const GxMatrix44addMatrix (const GxMatrix44 &matrix)
 行列加算
 
GX_FORCE_INLINE const GxMatrix44mulMatrix (const GxMatrix44 &matrix)
 行列乗算
 
GX_FORCE_INLINE const GxMatrix44mulRotateX (f32 radian)
 X軸回転乗算
 
GX_FORCE_INLINE const GxMatrix44mulRotateY (f32 radian)
 Y軸回転乗算
 
GX_FORCE_INLINE const GxMatrix44mulRotateZ (f32 radian)
 Z軸回転乗算
 
GX_FORCE_INLINE const GxMatrix44mulQuaternionFront (const GxQuaternion &quaternion)
 クォータニオンによる回転乗算(前から乗算)
 
GX_FORCE_INLINE const GxMatrix44mulQuaternionBack (const GxQuaternion &quaternion)
 クォータニオンによる回転乗算(後ろから乗算)
 
GX_FORCE_INLINE const GxMatrix44mulTranslate (const GxVector3 &vector)
 平行移動乗算
 
GX_FORCE_INLINE const GxMatrix44mulTranslate (f32 x, f32 y, f32 z)
 平行移動乗算
 
GX_FORCE_INLINE const GxMatrix44mulScale (const GxVector3 &vector)
 スケール乗算
 
GX_FORCE_INLINE const GxMatrix44mulScale (f32 x, f32 y, f32 z)
 スケール乗算
 
GX_FORCE_INLINE const GxMatrix44inverse (void)
 逆行列を計算する
 
GX_FORCE_INLINE const GxMatrix44transpose (void)
 転置する
 
GX_FORCE_INLINE void setZero (void)
 0を設定
 

Public Attributes

メンバ変数
f32 _m [4][4]
 
 

定義

static const GxMatrix44 ZERO
 0行列
 
static const GxMatrix44 IDENTITY
 単位行列
 
struct GxMatrixAffine
 
struct GxMatrix44Gpu
 

演算子

GX_FORCE_INLINE const GxMatrix44 operator* (const GxMatrix44 &matrix, f32 scalar)
 スカラ乗算
 
GX_FORCE_INLINE const GxMatrix44 operator/ (const GxMatrix44 &matrix, f32 scalar)
 スカラ除算
 
GX_FORCE_INLINE const GxMatrix44 operator+ (const GxMatrix44 &matrix0, const GxMatrix44 &matrix1)
 行列加算
 
GX_FORCE_INLINE const GxMatrix44 operator* (const GxMatrix44 &matrix0, const GxMatrix44 &matrix1)
 行列乗算
 
GX_FORCE_INLINE GxMatrix44operator= (const GxMatrix44 &matrix)
 代入
 
GX_FORCE_INLINE GxMatrix44operator*= (f32 scalar)
 スカラ乗算代入
 
GX_FORCE_INLINE GxMatrix44operator/= (f32 scalar)
 スカラ除算代入
 
GX_FORCE_INLINE GxMatrix44operator+= (const GxMatrix44 &matrix)
 行列加算代入
 
GX_FORCE_INLINE GxMatrix44operator*= (const GxMatrix44 &matrix)
 行列乗算代入
 
GX_FORCE_INLINE b32 operator== (const GxMatrix44 &matrix)
 一致
 
GX_FORCE_INLINE b32 operator!= (const GxMatrix44 &matrix)
 不一致
 

アクセサ

GX_FORCE_INLINE void setIdentity (void)
 単位行列に設定
 
GX_FORCE_INLINE void setRotateX (f32 sinValue, f32 cosValue)
 回転行列を設定(X軸回転)
 
GX_FORCE_INLINE void setRotateX (f32 radian)
 回転行列を設定(X軸回転)
 
GX_FORCE_INLINE void setRotateY (f32 sinValue, f32 cosValue)
 回転行列を設定(Y軸回転)
 
GX_FORCE_INLINE void setRotateY (f32 radian)
 回転行列を設定(Y軸回転)
 
GX_FORCE_INLINE void setRotateZ (f32 sinValue, f32 cosValue)
 回転行列を設定(Z軸回転)
 
GX_FORCE_INLINE void setRotateZ (f32 radian)
 回転行列を設定(Z軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateXYZ (void) const
 XYZ軸回転角を取得
 
GX_FORCE_INLINE void setRotateXYZ (f32 x, f32 y, f32 z)
 回転行列を設定(XYZ軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateXZY (void) const
 XZY軸回転角を取得
 
GX_FORCE_INLINE void setRotateXZY (f32 x, f32 y, f32 z)
 回転行列を設定(XZY軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateYXZ (void) const
 YXZ軸回転角を取得
 
GX_FORCE_INLINE void setRotateYXZ (f32 x, f32 y, f32 z)
 回転行列を設定(YXZ軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateYZX (void) const
 YZX軸回転角を取得
 
GX_FORCE_INLINE void setRotateYZX (f32 x, f32 y, f32 z)
 回転行列を設定(YZX軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateZXY (void) const
 ZXY軸回転角を取得
 
GX_FORCE_INLINE void setRotateZXY (f32 x, f32 y, f32 z)
 回転行列を設定(ZXY軸回転)
 
GX_FORCE_INLINE GxVector3 getRotateZYX (void) const
 ZYX軸回転角を取得
 
GX_FORCE_INLINE void setRotateZYX (f32 x, f32 y, f32 z)
 回転行列を設定(ZYX軸回転)
 
GX_FORCE_INLINE void setTranslate (const GxVector3 &vector)
 平行移動行列を設定
 
GX_FORCE_INLINE void setTranslate (f32 x, f32 y, f32 z)
 平行移動行列を設定
 
GX_FORCE_INLINE const GxVector3getPosition (void) const
 平行移動量を取得
 
GX_FORCE_INLINE void setPosition (const GxVector3 &position)
 平行移動量のみを設定
 
GX_FORCE_INLINE void setPosition (f32 x, f32 y, f32 z)
 平行移動量のみを設定
 
GX_FORCE_INLINE void setScale (const GxVector3 &vector)
 スケール行列を設定
 
GX_FORCE_INLINE void setScale (f32 x, f32 y, f32 z)
 スケール行列を設定
 
GX_FORCE_INLINE void setRotateAxis (const GxVector3 &vector, f32 radian)
 回転行列を設定
 
GX_FORCE_INLINE void setRotate (const GxQuaternion &quaternion)
 回転行列を設定
 
GX_FORCE_INLINE const GxVector4getRow (u32 row) const
 行を取得
 
GX_FORCE_INLINE void setRow (u32 row, const GxVector4 &vector)
 行を設定
 
GX_FORCE_INLINE GxVector4 getColumn (u32 column) const
 列を取得
 
GX_FORCE_INLINE void setColumn (u32 column, const GxVector4 &vector)
 列を設定
 
GX_FORCE_INLINE f32 getValue (u32 row, u32 column) const
 値を取得
 
GX_FORCE_INLINE void setValue (u32 row, u32 column, f32 value)
 値を設定
 
GX_FORCE_INLINE f32 & getReference (u32 row, u32 column)
 参照を取得
 
GX_FORCE_INLINE const f32 & getReference (u32 row, u32 column) const
 参照を取得
 
void setLookAtRH (const GxVector3 &eyePosition, const GxVector3 &atPosition, const GxVector3 &up)
 右手座標系・視点行列を設定
 
void setLookAtLH (const GxVector3 &eyePosition, const GxVector3 &atPosition, const GxVector3 &up)
 左手座標系・視点行列を設定
 
void setPerspectiveFovRH (f32 nearZ, f32 farZ, f32 fov, f32 aspect)
 右手座標系・射影変換行列を設定
 
void setPerspectiveFovRH (f32 nearZ, f32 farZ, f32 fov, f32 aspect, const GxVector2 &pixelOffset, const GxSize &viewportSize)
 右手座標系・射影変換行列を設定(ピクセルオフセット指定)
 
void setPerspectiveFovLH (f32 nearZ, f32 farZ, f32 fov, f32 aspect)
 左手座標系・射影変換行列を設定
 
void setFrustumRH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ)
 右手座標系・射影変換行列を設定
 
void setFrustumLH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ)
 左手座標系・射影変換行列を設定
 
void setOrthoRH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ)
 右手座標系・正射影変換行列を設定
 
void setOrthoRH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ, const GxVector2 &pixelOffset, const GxSize &viewportSize)
 右手座標系・正射影変換行列を設定(ピクセルオフセット指定)
 
void setOrthoLH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ)
 左手座標系・正射影変換行列を設定
 
void setOrthoLH (f32 left, f32 right, f32 top, f32 bottom, f32 nearZ, f32 farZ, const GxVector2 &pixelOffset, const GxSize &viewportSize)
 左手座標系・正射影変換行列を設定(ピクセルオフセット指定)
 
GX_FORCE_INLINE f32 getDeterminant (void) const
 行列式の値を取得
 
GX_FORCE_INLINE GxMatrix44 getInverse (void) const
 逆行列を取得
 
GX_FORCE_INLINE GxMatrix44 getTranspose (void) const
 転置行列を取得
 
GX_FORCE_INLINE GxMatrix44 getNormalizeAxes (void) const
 位置以外の各軸を正規化したものを取得
 
static GxMatrix44 getMatrix (AXIS axis0, const GxVector3 &vector0, AXIS axis1, const GxVector3 &vector1)
 2つの軸とベクトルから行列を取得
 
static GX_FORCE_INLINE const GxMatrix44getMulScalar (GxMatrix44 &dst, const GxMatrix44 &matrix, f32 scalar)
 スカラ乗算を取得
 
static GX_FORCE_INLINE const GxMatrix44getDivScalar (GxMatrix44 &dst, const GxMatrix44 &matrix, f32 scalar)
 スカラ除算を取得
 
static GX_FORCE_INLINE const GxMatrix44getAddMatrix (GxMatrix44 &dst, const GxMatrix44 &matrix0, const GxMatrix44 &matrix1)
 行列加算を取得
 
static GX_FORCE_INLINE const GxMatrix44getMulMatrix (GxMatrix44 &dst, const GxMatrix44 &matrix0, const GxMatrix44 &matrix1)
 行列乗算を取得
 
static GX_FORCE_INLINE const GxMatrix44getInverse (GxMatrix44 &dst, const GxMatrix44 &matrix)
 逆行列を取得
 
static GX_FORCE_INLINE const GxMatrix44getTranspose (GxMatrix44 &dst, const GxMatrix44 &matrix)
 転置行列を取得
 

Additional Inherited Members

- Static Public Member Functions inherited from GxStructBase
static GxRtti__getStaticRtti (void)
 

Detailed Description

4×4行列(行優先)

Constructor & Destructor Documentation

◆ GxMatrix44() [1/6]

GX_INLINE GxMatrix44::GxMatrix44 ( INIT initType)

コンストラクタ(引数のタイプで要素を初期化する)

Parameters
initType[in] 初期化タイプ
Here is the call graph for this function:

◆ GxMatrix44() [2/6]

GX_INLINE GxMatrix44::GxMatrix44 ( const GxQuaternion & quaternion,
const GxVector3 & position )

コンストラクタ

Parameters
quaternion[in] 回転
position[in] 位置
Here is the call graph for this function:

◆ GxMatrix44() [3/6]

GX_INLINE GxMatrix44::GxMatrix44 ( const GxQuaternion & quaternion)

コンストラクタ

Parameters
quaternion[in] 回転
Here is the call graph for this function:

◆ GxMatrix44() [4/6]

GX_INLINE GxMatrix44::GxMatrix44 ( const GxVector3 & position)

コンストラクタ

Parameters
position[in] 位置
Here is the call graph for this function:

◆ GxMatrix44() [5/6]

GX_INLINE GxMatrix44::GxMatrix44 ( const GxMatrixAffine & matrix)

コンストラクタ

Parameters
matrix[in] 行列

◆ GxMatrix44() [6/6]

GX_INLINE GxMatrix44::GxMatrix44 ( const GxMatrix44 & matrix)

コピーコンストラクタ

Parameters
matrix[in] 行列

Member Function Documentation

◆ addMatrix()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::addMatrix ( const GxMatrix44 & matrix)

行列加算

Parameters
matrix[in] 行列
Returns
自身の参照
Here is the caller graph for this function:

◆ divScalar()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::divScalar ( f32 scalar)

スカラ除算

Parameters
scalar[in] スカラ
Returns
自身の参照
Here is the caller graph for this function:

◆ getAddMatrix()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getAddMatrix ( GxMatrix44 & dst,
const GxMatrix44 & matrix0,
const GxMatrix44 & matrix1 )
static

行列加算を取得

Parameters
dst[out] 出力先
matrix0[in] 行列
matrix1[in] 行列
Returns
dstの参照

◆ getColumn()

GxVector4 GxMatrix44::getColumn ( u32 column) const

列を取得

Parameters
column[in] 列番号
Returns
列の値

◆ getDeterminant()

GX_FORCE_INLINE f32 GxMatrix44::getDeterminant ( void ) const

行列式の値を取得

Returns
行列式の値
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDivScalar()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getDivScalar ( GxMatrix44 & dst,
const GxMatrix44 & matrix,
f32 scalar )
static

スカラ除算を取得

Parameters
dst[out] 出力先
matrix[in] 行列
scalar[in] スカラ
Returns
dstの参照

◆ getInverse() [1/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getInverse ( GxMatrix44 & dst,
const GxMatrix44 & matrix )
static

逆行列を取得

Parameters
dst[out] 出力先
matrix[in] 行列
Returns
dstの参照
Here is the call graph for this function:

◆ getInverse() [2/2]

GX_FORCE_INLINE GxMatrix44 GxMatrix44::getInverse ( void ) const

逆行列を取得

Returns
逆行列
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMatrix()

GxMatrix44 GxMatrix44::getMatrix ( AXIS axis0,
const GxVector3 & vector0,
AXIS axis1,
const GxVector3 & vector1 )
static

2つの軸とベクトルから行列を取得

Parameters
axis0[in] 軸0
vector0[in] ベクトル0
axis1[in] 軸1
vector1[in] ベクトル1
Returns
マトリクス
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMulMatrix()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getMulMatrix ( GxMatrix44 & dst,
const GxMatrix44 & matrix0,
const GxMatrix44 & matrix1 )
static

行列乗算を取得

Parameters
dst[out] 出力先
matrix0[in] 行列
matrix1[in] 行列
Returns
dstの参照
Here is the caller graph for this function:

◆ getMulScalar()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getMulScalar ( GxMatrix44 & dst,
const GxMatrix44 & matrix,
f32 scalar )
static

スカラ乗算を取得

Parameters
dst[out] 出力先
matrix[in] 行列
scalar[in] スカラ
Returns
dstの参照

◆ getNormalizeAxes()

GX_FORCE_INLINE GxMatrix44 GxMatrix44::getNormalizeAxes ( void ) const

位置以外の各軸を正規化したものを取得

Returns
位置以外の各軸を正規化したもの
Here is the call graph for this function:

◆ getReference() [1/2]

f32 & GxMatrix44::getReference ( u32 row,
u32 column )

参照を取得

Parameters
row[in] 行番号
column[in] 列番号
Returns
参照

◆ getReference() [2/2]

const f32 & GxMatrix44::getReference ( u32 row,
u32 column ) const

参照を取得

Parameters
row[in] 行番号
column[in] 列番号
Returns
参照

◆ getRotateXYZ()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateXYZ ( void ) const

XYZ軸回転角を取得

Returns
XYZ回転の回転角
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRotateXZY()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateXZY ( void ) const

XZY軸回転角を取得

Returns
XZY回転の回転角
Here is the call graph for this function:

◆ getRotateYXZ()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateYXZ ( void ) const

YXZ軸回転角を取得

Returns
YXZ回転の回転角
Here is the call graph for this function:

◆ getRotateYZX()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateYZX ( void ) const

YZX軸回転角を取得

Returns
YZX回転の回転角
Here is the call graph for this function:

◆ getRotateZXY()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateZXY ( void ) const

ZXY軸回転角を取得

Returns
ZXY回転の回転角
Here is the call graph for this function:

◆ getRotateZYX()

GX_FORCE_INLINE GxVector3 GxMatrix44::getRotateZYX ( void ) const

ZYX軸回転角を取得

Returns
ZYX回転の回転角
Here is the call graph for this function:

◆ getRow()

const GxVector4 & GxMatrix44::getRow ( u32 row) const

行を取得

Parameters
row[in] 行番号
Returns
行の値

◆ getTranspose() [1/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::getTranspose ( GxMatrix44 & dst,
const GxMatrix44 & matrix )
static

転置行列を取得

Parameters
dst[out] 出力先
matrix[in] 行列
Returns
dstの参照

◆ getTranspose() [2/2]

GX_FORCE_INLINE GxMatrix44 GxMatrix44::getTranspose ( void ) const

転置行列を取得

Returns
転置行列
Here is the call graph for this function:

◆ getValue()

f32 GxMatrix44::getValue ( u32 row,
u32 column ) const

値を取得

Parameters
row[in] 行番号
column[in] 列番号
Returns

◆ initialize()

GX_FORCE_INLINE void GxMatrix44::initialize ( const GxQuaternion & quaternion,
const GxVector3 & position )

初期化

Parameters
quaternion[in] 回転
position[in] 位置
Here is the call graph for this function:

◆ inverse()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::inverse ( void )

逆行列を計算する

Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulMatrix()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulMatrix ( const GxMatrix44 & matrix)

行列乗算

Parameters
matrix[in] 行列
Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulQuaternionBack()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulQuaternionBack ( const GxQuaternion & quaternion)

クォータニオンによる回転乗算(後ろから乗算)

Parameters
quaternion[in] クォータニオン
Returns
自身の参照
Here is the call graph for this function:

◆ mulQuaternionFront()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulQuaternionFront ( const GxQuaternion & quaternion)

クォータニオンによる回転乗算(前から乗算)

Parameters
quaternion[in] クォータニオン
Returns
自身の参照
Here is the call graph for this function:

◆ mulRotateX()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulRotateX ( f32 radian)

X軸回転乗算

Parameters
radian[in] X軸回転量
Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulRotateY()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulRotateY ( f32 radian)

Y軸回転乗算

Parameters
radian[in] Y軸回転量
Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulRotateZ()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulRotateZ ( f32 radian)

Z軸回転乗算

Parameters
radian[in] Z軸回転量
Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulScalar()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulScalar ( f32 scalar)

スカラ乗算

Parameters
scalar[in] スカラ
Returns
自身の参照
Here is the caller graph for this function:

◆ mulScale() [1/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulScale ( const GxVector3 & vector)

スケール乗算

Parameters
vector[in] スケール
Returns
自身の参照
Here is the call graph for this function:

◆ mulScale() [2/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulScale ( f32 x,
f32 y,
f32 z )

スケール乗算

Parameters
x[in] スケールX
y[in] スケールY
z[in] スケールZ
Returns
自身の参照
Here is the call graph for this function:

◆ mulTranslate() [1/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulTranslate ( const GxVector3 & vector)

平行移動乗算

Parameters
vector[in] 平行移動量
Returns
自身の参照
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mulTranslate() [2/2]

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::mulTranslate ( f32 x,
f32 y,
f32 z )

平行移動乗算

Parameters
x[in] 平行移動量X
y[in] 平行移動量Y
z[in] 平行移動量Z
Returns
自身の参照
Here is the call graph for this function:

◆ operator!=()

GX_FORCE_INLINE b32 GxMatrix44::operator!= ( const GxMatrix44 & matrix)

不一致

Parameters
matrix[in] 行列
Returns
不一致ならtrue

◆ operator*=() [1/2]

GX_FORCE_INLINE GxMatrix44 & GxMatrix44::operator*= ( const GxMatrix44 & matrix)

行列乗算代入

Parameters
matrix[in] 行列
Returns
自身の参照
Here is the call graph for this function:

◆ operator*=() [2/2]

GX_FORCE_INLINE GxMatrix44 & GxMatrix44::operator*= ( f32 scalar)

スカラ乗算代入

Parameters
scalar[in] スカラ
Returns
自身の参照
Here is the call graph for this function:

◆ operator+=()

GX_FORCE_INLINE GxMatrix44 & GxMatrix44::operator+= ( const GxMatrix44 & matrix)

行列加算代入

Parameters
matrix[in] 行列
Returns
自身の参照
Here is the call graph for this function:

◆ operator/=()

GX_FORCE_INLINE GxMatrix44 & GxMatrix44::operator/= ( f32 scalar)

スカラ除算代入

Parameters
scalar[in] スカラ
Returns
自身の参照
Here is the call graph for this function:

◆ operator=()

GX_FORCE_INLINE GxMatrix44 & GxMatrix44::operator= ( const GxMatrix44 & matrix)

代入

Parameters
matrix[in] 行列
Returns
自身の参照

◆ operator==()

GX_FORCE_INLINE b32 GxMatrix44::operator== ( const GxMatrix44 & matrix)

一致

Parameters
matrix[in] 行列
Returns
一致ならtrue

◆ setColumn()

void GxMatrix44::setColumn ( u32 column,
const GxVector4 & vector )

列を設定

Parameters
column[in] 列番号
vector[in] 列の値

◆ setFrustumLH()

void GxMatrix44::setFrustumLH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ )

左手座標系・射影変換行列を設定

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ

◆ setFrustumRH()

void GxMatrix44::setFrustumRH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ )

右手座標系・射影変換行列を設定

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ
Here is the caller graph for this function:

◆ setLookAtLH()

void GxMatrix44::setLookAtLH ( const GxVector3 & eyePosition,
const GxVector3 & atPosition,
const GxVector3 & up )

左手座標系・視点行列を設定

Parameters
eyePosition[in] 視点
atPosition[in] 注視点
up[in] 上ベクトル
Here is the call graph for this function:

◆ setLookAtRH()

void GxMatrix44::setLookAtRH ( const GxVector3 & eyePosition,
const GxVector3 & atPosition,
const GxVector3 & up )

右手座標系・視点行列を設定

Parameters
eyePosition[in] 視点
atPosition[in] 注視点
up[in] 上ベクトル
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setOrthoLH() [1/2]

void GxMatrix44::setOrthoLH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ )

左手座標系・正射影変換行列を設定

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ
Here is the caller graph for this function:

◆ setOrthoLH() [2/2]

void GxMatrix44::setOrthoLH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ,
const GxVector2 & pixelOffset,
const GxSize & viewportSize )

左手座標系・正射影変換行列を設定(ピクセルオフセット指定)

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ
pixelOffset[in] ピクセルオフセット
viewportSize[in] ビューポートサイズ

◆ setOrthoRH() [1/2]

void GxMatrix44::setOrthoRH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ )

右手座標系・正射影変換行列を設定

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ
Here is the caller graph for this function:

◆ setOrthoRH() [2/2]

void GxMatrix44::setOrthoRH ( f32 left,
f32 right,
f32 top,
f32 bottom,
f32 nearZ,
f32 farZ,
const GxVector2 & pixelOffset,
const GxSize & viewportSize )

右手座標系・正射影変換行列を設定(ピクセルオフセット指定)

Parameters
left[in] 左端
right[in] 右端
top[in] 上端
bottom[in] 下端
nearZ[in] 近クリップ
farZ[in] 遠クリップ
pixelOffset[in] ピクセルオフセット
viewportSize[in] ビューポートサイズ

◆ setPerspectiveFovLH()

void GxMatrix44::setPerspectiveFovLH ( f32 nearZ,
f32 farZ,
f32 fov,
f32 aspect )

左手座標系・射影変換行列を設定

Parameters
nearZ[in] 近クリップ
farZ[in] 遠クリップ
fov[in] 画角
aspect[in] アスペクト比

◆ setPerspectiveFovRH() [1/2]

void GxMatrix44::setPerspectiveFovRH ( f32 nearZ,
f32 farZ,
f32 fov,
f32 aspect )

右手座標系・射影変換行列を設定

Parameters
nearZ[in] 近クリップ
farZ[in] 遠クリップ
fov[in] 画角
aspect[in] アスペクト比
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPerspectiveFovRH() [2/2]

void GxMatrix44::setPerspectiveFovRH ( f32 nearZ,
f32 farZ,
f32 fov,
f32 aspect,
const GxVector2 & pixelOffset,
const GxSize & viewportSize )

右手座標系・射影変換行列を設定(ピクセルオフセット指定)

Parameters
nearZ[in] 近クリップ
farZ[in] 遠クリップ
fov[in] 画角
aspect[in] アスペクト比
pixelOffset[in] ピクセルオフセット
viewportSize[in] ビューポートサイズ
Here is the call graph for this function:

◆ setPosition() [1/2]

GX_FORCE_INLINE void GxMatrix44::setPosition ( const GxVector3 & position)

平行移動量のみを設定

Parameters
position[in] 平行移動量
Here is the caller graph for this function:

◆ setPosition() [2/2]

GX_FORCE_INLINE void GxMatrix44::setPosition ( f32 x,
f32 y,
f32 z )

平行移動量のみを設定

Parameters
x[in] 平行移動量X
y[in] 平行移動量Y

autotoc_md0

Parameters
z[in] 平行移動量Z

◆ setRotate()

GX_INLINE void GxMatrix44::setRotate ( const GxQuaternion & quaternion)

回転行列を設定

Parameters
quaternion[in] クォータニオン
Here is the caller graph for this function:

◆ setRotateAxis()

GX_FORCE_INLINE void GxMatrix44::setRotateAxis ( const GxVector3 & vector,
f32 radian )

回転行列を設定

Parameters
vector[in] 回転軸
radian[in] 回転角
Here is the call graph for this function:

◆ setRotateX()

GX_FORCE_INLINE void GxMatrix44::setRotateX ( f32 sinValue,
f32 cosValue )

回転行列を設定(X軸回転)

Parameters
sinValue[in] sin(rad)の値
cosValue[in] cos(rad)の値
Here is the caller graph for this function:

◆ setRotateY()

GX_FORCE_INLINE void GxMatrix44::setRotateY ( f32 sinValue,
f32 cosValue )

回転行列を設定(Y軸回転)

Parameters
sinValue[in] sin(rad)の値
cosValue[in] cos(rad)の値
Here is the caller graph for this function:

◆ setRotateZ()

GX_FORCE_INLINE void GxMatrix44::setRotateZ ( f32 sinValue,
f32 cosValue )

回転行列を設定(Z軸回転)

Parameters
sinValue[in] sin(rad)の値
cosValue[in] cos(rad)の値
Here is the caller graph for this function:

◆ setRow()

void GxMatrix44::setRow ( u32 row,
const GxVector4 & vector )

行を設定

Parameters
row[in] 行番号
vector[in] 行の値
Here is the caller graph for this function:

◆ setScale() [1/2]

GX_FORCE_INLINE void GxMatrix44::setScale ( const GxVector3 & vector)

スケール行列を設定

Parameters
vector[in] スケール
Here is the caller graph for this function:

◆ setScale() [2/2]

GX_FORCE_INLINE void GxMatrix44::setScale ( f32 x,
f32 y,
f32 z )

スケール行列を設定

Parameters
x[in] スケールX
y[in] スケールY
z[in] スケールZ

◆ setTranslate() [1/2]

GX_FORCE_INLINE void GxMatrix44::setTranslate ( const GxVector3 & vector)

平行移動行列を設定

Parameters
vector[in] 平行移動量
Here is the caller graph for this function:

◆ setTranslate() [2/2]

GX_FORCE_INLINE void GxMatrix44::setTranslate ( f32 x,
f32 y,
f32 z )

平行移動行列を設定

Parameters
x[in] 平行移動量X
y[in] 平行移動量Y
z[in] 平行移動量Z

◆ setValue()

void GxMatrix44::setValue ( u32 row,
u32 column,
f32 value )

値を設定

Parameters
row[in] 行番号
column[in] 列番号
value[in] 値

◆ transpose()

GX_FORCE_INLINE const GxMatrix44 & GxMatrix44::transpose ( void )

転置する

Returns
自身の参照

Friends And Related Symbol Documentation

◆ operator* [1/2]

GX_FORCE_INLINE const GxMatrix44 operator* ( const GxMatrix44 & matrix,
f32 scalar )
friend

スカラ乗算

Parameters
matrix[in] 行列
scalar[in] スカラ
Returns
演算結果

◆ operator* [2/2]

GX_FORCE_INLINE const GxMatrix44 operator* ( const GxMatrix44 & matrix0,
const GxMatrix44 & matrix1 )
friend

行列乗算

Parameters
matrix0[in] 行列
matrix1[in] 行列
Returns
演算結果

◆ operator+

GX_FORCE_INLINE const GxMatrix44 operator+ ( const GxMatrix44 & matrix0,
const GxMatrix44 & matrix1 )
friend

行列加算

Parameters
matrix0[in] 行列
matrix1[in] 行列
Returns
演算結果

◆ operator/

GX_FORCE_INLINE const GxMatrix44 operator/ ( const GxMatrix44 & matrix,
f32 scalar )
friend

スカラ除算

Parameters
matrix[in] 行列
scalar[in] スカラ
Returns
演算結果

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