Class T3dMatrix (unit TMatrix)

Inherits from

Tobject

T3DMatrix : T3DMatrix is a simple wrapper to the D3DMATRIX record setting the _xy values in a TMatrix object sets the corresponding value in the D3DMATRIX //record Once you set values remember to call Update to refresh the internal (not in this class //but somewhere into the D3DDevice object) representation of the matrix // Create : to create a matrix you need a Directx3d device GetHandle : returns the handle to the matrix; Update : Loads the matrix into the device

Constructors


constructor Create ( pID3D : IDirect3dDevice ) ;



Functions

function GetHandle : D3DMATRIXHANDLE;

destructor Destroy ; override ;

procedure Update;


Properties

property _11 : D3DVALUE


property _12 : D3DVALUE


property _13 : D3DVALUE


property _14 : D3DVALUE


property _21 : D3DVALUE


property _22 : D3DVALUE


property _23 : D3DVALUE


property _24 : D3DVALUE


property _31 : D3DVALUE


property _32 : D3DVALUE


property _33 : D3DVALUE


property _34 : D3DVALUE


property _41 : D3DVALUE


property _42 : D3DVALUE


property _43 : D3DVALUE


property _44 : D3DVALUE


Events

Variables

m_hMatrix : D3DMATRIXHANDLE;


m_mat : D3DMATRIX;


m_pID3D : IDirect3dDevice;



Constructors


constructor Create ( pID3D : IDirect3dDevice ) ;


Functions


function GetHandle : D3DMATRIXHANDLE;

destructor Destroy ; override ;


procedure Update;


Properties


property _11 : D3DVALUE


property _12 : D3DVALUE


property _13 : D3DVALUE


property _14 : D3DVALUE


property _21 : D3DVALUE


property _22 : D3DVALUE


property _23 : D3DVALUE


property _24 : D3DVALUE


property _31 : D3DVALUE


property _32 : D3DVALUE


property _33 : D3DVALUE


property _34 : D3DVALUE


property _41 : D3DVALUE


property _42 : D3DVALUE


property _43 : D3DVALUE


property _44 : D3DVALUE


Events


Variables


m_hMatrix : D3DMATRIXHANDLE;


m_mat : D3DMATRIX;


m_pID3D : IDirect3dDevice;