feat: add basic layout for CKLight and CKCamera.

- add basic class layout and member function for CKLight and CKCamera.
- register CKLight and CKCamera in CKGlobals to let CK engine can recognize them.
- modify EnumsMigration to add new 2 enums for CKLight and CKCamera.
This commit is contained in:
2024-12-23 22:21:50 +08:00
parent d29d40448b
commit ff5a590cf4
11 changed files with 239 additions and 4 deletions

View File

@ -45,6 +45,21 @@ namespace LibCmo::VxMath {
_4_ARGB8888_CLUT = 31, /**< 4 bits indexed CLUT (ARGB) */
};
/**
{filename:VXLIGHT_TYPE}
Summary: Light type.
Remarks:
+ Used by CKLight::SetType to specify the type of a light.
See also: CKLight::SetType,CKLight::GetType
*/
enum class VXLIGHT_TYPE : CKDWORD {
VX_LIGHTPOINT = 1UL, /**< The Light is a point of light */
VX_LIGHTSPOT = 2UL, /**< The light is a spotlight */
VX_LIGHTDIREC = 3UL, /**< The light is directional light : Lights comes from an infinite point so only direction of light can be given */
VX_LIGHTPARA = 4UL, /**< Obsolete, do not use */
};
/**
Summary: Blend Mode Flags
Remarks: