Go to the source code of this file.
|
| enum | kshape_type { KSHAPE_TYPE_SPHERE
, KSHAPE_TYPE_RECTANGLE
} |
| |
| enum | kscene_volume_type { KSCENE_VOLUME_TYPE_TRIGGER
} |
| |
| enum | kentity_flag_bits { KENTITY_FLAG_NONE = 0
, KENTITY_FLAG_FREE_BIT = 1 << 0
, KENTITY_FLAG_SERIALIZABLE_BIT = 1 << 1
} |
| |
| enum | kentity_type {
KENTITY_TYPE_NONE
, KENTITY_TYPE_MODEL
, KENTITY_TYPE_HEIGHTMAP_TERRAIN
, KENTITY_TYPE_WATER_PLANE
,
KENTITY_TYPE_AUDIO_EMITTER
, KENTITY_TYPE_VOLUME
, KENTITY_TYPE_HIT_SHAPE
, KENTITY_TYPE_POINT_LIGHT
,
KENTITY_TYPE_SPAWN_POINT
, KENTITY_TYPE_COUNT
, KENTITY_TYPE_INVALID = INVALID_ID_U16
} |
| |
◆ KENTITY_INVALID
◆ kcollision_shape
◆ kentity
An identifier for an entity within a scene.
@description Memory layout: u16 entity type. This could be reduced to a u8 if other data is needed in here. u16 entity type index (or index into the type-specific array). u16 unused/reserved - index of the internal hierarchy node array. u16 unused/reserved for the future.
◆ kentity_flag_bits
◆ kentity_flags
◆ kentity_type
◆ kscene_volume_type
◆ kshape_type
◆ kentity_flag_bits
| Enumerator |
|---|
| KENTITY_FLAG_NONE | |
| KENTITY_FLAG_FREE_BIT | |
| KENTITY_FLAG_SERIALIZABLE_BIT | |
◆ kentity_type
| Enumerator |
|---|
| KENTITY_TYPE_NONE | |
| KENTITY_TYPE_MODEL | |
| KENTITY_TYPE_HEIGHTMAP_TERRAIN | |
| KENTITY_TYPE_WATER_PLANE | |
| KENTITY_TYPE_AUDIO_EMITTER | |
| KENTITY_TYPE_VOLUME | |
| KENTITY_TYPE_HIT_SHAPE | |
| KENTITY_TYPE_POINT_LIGHT | |
| KENTITY_TYPE_SPAWN_POINT | |
| KENTITY_TYPE_COUNT | |
| KENTITY_TYPE_INVALID | |
◆ kscene_volume_type
| Enumerator |
|---|
| KSCENE_VOLUME_TYPE_TRIGGER | |
◆ kshape_type
| Enumerator |
|---|
| KSHAPE_TYPE_SPHERE | |
| KSHAPE_TYPE_RECTANGLE | |