Defines | |
| #define | orxFRAME_KU32_FLAG_DEPTH_SCALE 0x00000004 |
| #define | orxFRAME_KU32_FLAG_FLIP_X 0x00000010 |
| #define | orxFRAME_KU32_FLAG_FLIP_Y 0x00000020 |
| #define | orxFRAME_KU32_FLAG_NONE 0x00000000 |
| #define | orxFRAME_KU32_FLAG_SCROLL_X 0x00000001 |
| #define | orxFRAME_KU32_FLAG_SCROLL_Y 0x00000002 |
| #define | orxFRAME_KU32_MASK_FLIP_BOTH 0x00000030 |
| #define | orxFRAME_KU32_MASK_SCROLL_BOTH 0x00000003 |
| #define | orxFRAME_KU32_MASK_USER_ALL 0x000000FF |
Typedefs | |
| typedef struct __orxFRAME_t | orxFRAME |
Enumerations | |
| enum | orxFRAME_SPACE { orxFRAME_SPACE_GLOBAL = 0, orxFRAME_SPACE_LOCAL, orxFRAME_SPACE_NUMBER, orxFRAME_SPACE_NONE = orxENUM_NONE } |
Functions | |
| orxDLLAPI orxFRAME *orxFASTCALL | orxFrame_Create (orxU32 _u32Flags) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxFrame_Delete (orxFRAME *_pstFrame) |
| orxDLLAPI void orxFASTCALL | orxFrame_Exit () |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxFrame_GetPosition (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvPos) |
| orxDLLAPI orxFLOAT orxFASTCALL | orxFrame_GetRotation (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace) |
| orxDLLAPI orxVECTOR *orxFASTCALL | orxFrame_GetScale (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxVECTOR *_pvScale) |
| orxDLLAPI orxSTATUS orxFASTCALL | orxFrame_Init () |
| orxDLLAPI orxBOOL orxFASTCALL | orxFrame_IsDirty (const orxFRAME *_pstFrame) |
| orxDLLAPI orxBOOL orxFASTCALL | orxFrame_IsRootChild (const orxFRAME *_pstFrame) |
| orxDLLAPI void orxFASTCALL | orxFrame_SetParent (orxFRAME *_pstFrame, orxFRAME *_pstParent) |
| orxDLLAPI void orxFASTCALL | orxFrame_SetPosition (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, const orxVECTOR *_pvPos) |
| orxDLLAPI void orxFASTCALL | orxFrame_SetRotation (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, orxFLOAT _fAngle) |
| orxDLLAPI void orxFASTCALL | orxFrame_SetScale (orxFRAME *_pstFrame, orxFRAME_SPACE _eSpace, const orxVECTOR *_pvScale) |
| orxDLLAPI void orxFASTCALL | orxFrame_Setup () |
Frame (scene node) Module. Allows to handles frame (scene nodes). It consists in a nodes (arranged in a hierarchical tree) having their position given in their parent local coordinate subsystem and caching their global one (in the root coordinate system). They're used to give position, rotation & scale to an object or a group of objects. Frames are structures. They thus can be referenced by Object Module.
| #define orxFRAME_KU32_FLAG_DEPTH_SCALE 0x00000004 |
Relative depth scaling flag
Definition at line 67 of file orxFrame.h.
| #define orxFRAME_KU32_FLAG_FLIP_X 0x00000010 |
X axis flipping flag
Definition at line 69 of file orxFrame.h.
| #define orxFRAME_KU32_FLAG_FLIP_Y 0x00000020 |
Y axis flipping flag
Definition at line 70 of file orxFrame.h.
| #define orxFRAME_KU32_FLAG_NONE 0x00000000 |
Frame flags No flags
Definition at line 61 of file orxFrame.h.
| #define orxFRAME_KU32_FLAG_SCROLL_X 0x00000001 |
X axis differential scrolling flag
Definition at line 63 of file orxFrame.h.
| #define orxFRAME_KU32_FLAG_SCROLL_Y 0x00000002 |
Y axis differential scrolling flag
Definition at line 64 of file orxFrame.h.
| #define orxFRAME_KU32_MASK_FLIP_BOTH 0x00000030 |
Both axis flippinf mask
Definition at line 71 of file orxFrame.h.
| #define orxFRAME_KU32_MASK_SCROLL_BOTH 0x00000003 |
Both axis differential scrolling mask
Definition at line 65 of file orxFrame.h.
| #define orxFRAME_KU32_MASK_USER_ALL 0x000000FF |
User all ID mask
Definition at line 73 of file orxFrame.h.
| typedef struct __orxFRAME_t orxFRAME |
Internal Frame structure
Definition at line 92 of file orxFrame.h.
| enum orxFRAME_SPACE |
Frame space enum
Definition at line 78 of file orxFrame.h.
| orxDLLAPI orxFRAME* orxFASTCALL orxFrame_Create | ( | orxU32 | _u32Flags ) |
Creates a frame
| [in] | _u32Flags | flags for created animation |
Deletes a frame
| [in] | _pstFrame | Frame to delete |
| orxDLLAPI void orxFASTCALL orxFrame_Exit | ( | ) |
Exits from the frame module
| orxDLLAPI orxVECTOR* orxFASTCALL orxFrame_GetPosition | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace, | ||
| orxVECTOR * | _pvPos | ||
| ) |
Gets a frame position
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| [out] | _pvPos | Position of the given frame |
| orxDLLAPI orxFLOAT orxFASTCALL orxFrame_GetRotation | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace | ||
| ) |
Gets a frame rotation
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| orxDLLAPI orxVECTOR* orxFASTCALL orxFrame_GetScale | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace, | ||
| orxVECTOR * | _pvScale | ||
| ) |
Gets a frame scale
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| [out] | _pvScale | Scale |
| orxDLLAPI orxSTATUS orxFASTCALL orxFrame_Init | ( | ) |
Inits the frame module
| orxDLLAPI orxBOOL orxFASTCALL orxFrame_IsDirty | ( | const orxFRAME * | _pstFrame ) |
Is dirty?
| [in] | _pstFrame | Concerned frame |
| orxDLLAPI orxBOOL orxFASTCALL orxFrame_IsRootChild | ( | const orxFRAME * | _pstFrame ) |
Is a root child?
| [in] | _pstFrame | Concerned frame |
Sets a frame parent
| [in] | _pstFrame | Concerned frame |
| [in] | _pstParent | Parent frame to set |
| orxDLLAPI void orxFASTCALL orxFrame_SetPosition | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace, | ||
| const orxVECTOR * | _pvPos | ||
| ) |
Sets a frame position
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| [in] | _pvPos | Position to set |
| orxDLLAPI void orxFASTCALL orxFrame_SetRotation | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace, | ||
| orxFLOAT | _fAngle | ||
| ) |
Sets a frame rotation
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| [in] | _fAngle | Angle to set (radians) |
| orxDLLAPI void orxFASTCALL orxFrame_SetScale | ( | orxFRAME * | _pstFrame, |
| orxFRAME_SPACE | _eSpace, | ||
| const orxVECTOR * | _pvScale | ||
| ) |
Sets a frame scale
| [in] | _pstFrame | Concerned frame |
| [in] | _eSpace | Coordinate space system to use |
| [in] | _pvScale | Scale to set |
| orxDLLAPI void orxFASTCALL orxFrame_Setup | ( | ) |
Setups the frame module
1.5.6