7#include <emscripten/bind.h>
58using namespace emscripten;
67 value_object<glm::vec2>(
"Vec2")
68 .field(
"x", &glm::vec2::x)
69 .field(
"y", &glm::vec2::y);
71 value_object<glm::vec3>(
"Vec3")
72 .field(
"x", &glm::vec3::x)
73 .field(
"y", &glm::vec3::y)
74 .field(
"z", &glm::vec3::z);
76 value_object<glm::vec4>(
"Vec4")
77 .field(
"x", &glm::vec4::x)
78 .field(
"y", &glm::vec4::y)
79 .field(
"z", &glm::vec4::z)
80 .field(
"w", &glm::vec4::w);
82 value_object<glm::uvec2>(
"UVec2")
83 .field(
"x", &glm::uvec2::x)
84 .field(
"y", &glm::uvec2::y);
86 value_object<glm::quat>(
"Quat")
87 .field(
"w", &glm::quat::w)
88 .field(
"x", &glm::quat::x)
89 .field(
"y", &glm::quat::y)
90 .field(
"z", &glm::quat::z);
92 value_object<esengine::Padding>(
"Padding")
98 value_object<esengine::Dimension>(
"Dimension")
108 enum_<esengine::ecs::AlignContent>(
"AlignContent")
116 enum_<esengine::ecs::AlignItems>(
"AlignItems")
122 enum_<esengine::ecs::AlignSelf>(
"AlignSelf")
129 enum_<esengine::ecs::BillboardMode>(
"BillboardMode")
133 enum_<esengine::ecs::BodyType>(
"BodyType")
138 enum_<esengine::ecs::CanvasScaleMode>(
"CanvasScaleMode")
145 enum_<esengine::ecs::ClearFlags>(
"ClearFlags")
151 enum_<esengine::animation::EasingType>(
"EasingType")
188 enum_<esengine::ecs::EmitterShape>(
"EmitterShape")
196 enum_<esengine::ecs::FlexDirection>(
"FlexDirection")
202 enum_<esengine::ecs::FlexWrap>(
"FlexWrap")
206 enum_<esengine::ecs::ForceFieldType>(
"ForceFieldType")
212 enum_<esengine::ecs::JustifyContent>(
"JustifyContent")
220 enum_<esengine::ecs::LightType>(
"LightType")
226 enum_<esengine::animation::LoopMode>(
"LoopMode")
231 enum_<esengine::ecs::MaskMode>(
"MaskMode")
235 enum_<esengine::ecs::ParticleColliderShape>(
"ParticleColliderShape")
240 enum_<esengine::ecs::ParticleCollisionFallback>(
"ParticleCollisionFallback")
244 enum_<esengine::ecs::ParticleCollisionMode>(
"ParticleCollisionMode")
251 enum_<esengine::ecs::ParticleEasing>(
"ParticleEasing")
257 enum_<esengine::ecs::ParticleRenderMode>(
"ParticleRenderMode")
261 enum_<esengine::ecs::ProjectionType>(
"ProjectionType")
265 enum_<esengine::ecs::ReflectionAxis>(
"ReflectionAxis")
270 enum_<esengine::ecs::ReflectionQuality>(
"ReflectionQuality")
274 enum_<esengine::ecs::ReflectionUpdate>(
"ReflectionUpdate")
279 enum_<esengine::ecs::ScrollMovement>(
"ScrollMovement")
283 enum_<esengine::ecs::ShapeType>(
"ShapeType")
288 enum_<esengine::ecs::SimulationSpace>(
"SimulationSpace")
292 enum_<esengine::ecs::SkinCacheMode>(
"SkinCacheMode")
297 enum_<esengine::ecs::SpringBoneShape>(
"SpringBoneShape")
301 enum_<esengine::ecs::SpriteDrawMode>(
"SpriteDrawMode")
307 enum_<esengine::ecs::SpriteMaskInteraction>(
"SpriteMaskInteraction")
312 enum_<esengine::ecs::SubEmitterTrigger>(
"SubEmitterTrigger")
317 enum_<esengine::ecs::TextAlign>(
"TextAlign")
322 enum_<esengine::ecs::TilemapOrientation>(
"TilemapOrientation")
328 enum_<esengine::ecs::TilemapStaggerAxis>(
"TilemapStaggerAxis")
332 enum_<esengine::ecs::TilemapStaggerIndex>(
"TilemapStaggerIndex")
336 enum_<esengine::animation::TweenState>(
"TweenState")
342 enum_<esengine::animation::TweenTarget>(
"TweenTarget")
357 enum_<esengine::ecs::UIDisplay>(
"UIDisplay")
361 enum_<esengine::ecs::UIFillMethod>(
"UIFillMethod")
368 enum_<esengine::ecs::UIFillOrigin>(
"UIFillOrigin")
374 enum_<esengine::ecs::UIPointerEvents>(
"UIPointerEvents")
379 enum_<esengine::ecs::UIPositionType>(
"UIPositionType")
383 enum_<esengine::ecs::UIVisualFit>(
"UIVisualFit")
388 enum_<esengine::ecs::UIVisualType>(
"UIVisualType")
1403 emscripten::val
path = emscripten::val::array();
1409 {
const size_t n = js.
path[
"length"].as<
size_t>();
1411 for (
size_t i = 0; i < n; ++i) c.
path.push_back(js.
path[i].as<glm::vec2>()); }
1424 js.
path = emscripten::val::array();
1425 for (
size_t i = 0; i < c.
path.size(); ++i) js.
path.set(i, emscripten::val(c.
path[i]));
1902 register_vector<u32>(
"VectorEntity");
1904 register_vector<f32>(
"VectorFloat");
1906 value_object<esengine::ecs::Billboard>(
"Billboard")
1910 value_object<BitmapTextJS>(
"BitmapText")
1921 value_object<esengine::ecs::BoxCollider2D>(
"BoxCollider2D")
1932 value_object<esengine::ecs::BoxCollider3D>(
"BoxCollider3D")
1940 value_object<CameraJS>(
"Camera")
1955 value_object<CanvasJS>(
"Canvas")
1963 value_object<esengine::ecs::CapsuleCollider2D>(
"CapsuleCollider2D")
1975 value_object<esengine::ecs::CapsuleCollider3D>(
"CapsuleCollider3D")
1984 value_object<esengine::ecs::CharacterController3D>(
"CharacterController3D")
1999 value_object<ChildrenJS>(
"Children")
2002 value_object<esengine::ecs::CircleCollider2D>(
"CircleCollider2D")
2013 value_object<esengine::ecs::ContentRect>(
"ContentRect")
2017 value_object<ConvexCollider3DJS>(
"ConvexCollider3D")
2024 value_object<esengine::ecs::Draggable>(
"Draggable")
2034 value_object<esengine::ecs::DragonBonesAnimation>(
"DragonBonesAnimation")
2051 value_object<FlexContainerJS>(
"FlexContainer")
2060 value_object<esengine::ecs::GroupOpacity>(
"GroupOpacity")
2064 value_object<esengine::ecs::Impostor>(
"Impostor")
2070 value_object<esengine::ecs::Interactable>(
"Interactable")
2075 value_object<LODGroupJS>(
"LODGroup")
2086 value_object<LightJS>(
"Light")
2123 value_object<LightProbeVolumeJS>(
"LightProbeVolume")
2131 value_object<MeshCollider3DJS>(
"MeshCollider3D")
2138 value_object<MeshInstancesJS>(
"MeshInstances")
2145 value_object<MeshLightmapJS>(
"MeshLightmap")
2149 value_object<esengine::ecs::MeshMorph>(
"MeshMorph")
2152 value_object<MeshRendererJS>(
"MeshRenderer")
2166 value_object<MeshSkinJS>(
"MeshSkin")
2170 value_object<esengine::ecs::Occluder>(
"Occluder")
2174 value_object<ParentJS>(
"Parent")
2177 value_object<esengine::ecs::ParticleCollider>(
"ParticleCollider")
2186 value_object<ParticleEmitterJS>(
"ParticleEmitter")
2265 value_object<esengine::ecs::ParticleForceField>(
"ParticleForceField")
2273 value_object<PlanarReflectionJS>(
"PlanarReflection")
2285 value_object<ReflectionProbeJS>(
"ReflectionProbe")
2291 value_object<RigidBody2DJS>(
"RigidBody2D")
2300 value_object<RigidBody3DJS>(
"RigidBody3D")
2311 value_object<esengine::ecs::SegmentCollider2D>(
"SegmentCollider2D")
2322 value_object<ShadowCaster2DJS>(
"ShadowCaster2D")
2327 value_object<esengine::ecs::ShapeRenderer>(
"ShapeRenderer")
2336 value_object<esengine::ecs::SortingGroup>(
"SortingGroup")
2341 value_object<esengine::ecs::SphereCollider3D>(
"SphereCollider3D")
2349 value_object<esengine::ecs::SpineAnimation>(
"SpineAnimation")
2365 value_object<SpringBoneJS>(
"SpringBone")
2378 value_object<SpringBoneColliderJS>(
"SpringBoneCollider")
2384 value_object<SpriteJS>(
"Sprite")
2404 value_object<esengine::ecs::SpriteMask>(
"SpriteMask")
2411 value_object<TilemapLayerJS>(
"TilemapLayer")
2427 value_object<TrailRendererJS>(
"TrailRenderer")
2441 value_object<esengine::ecs::Transform>(
"Transform")
2449 value_object<esengine::ecs::UIInteraction>(
"UIInteraction")
2455 value_object<UIMaskJS>(
"UIMask")
2460 value_object<UINodeJS>(
"UINode")
2484 value_object<UIScrollJS>(
"UIScroll")
2494 value_object<UIVisualJS>(
"UIVisual")
2509 value_object<esengine::ecs::Velocity>(
"Velocity")
2520 class_<Registry>(
"Registry")
2522 .function(
"create", optional_override([](
Registry& r) {
return static_cast<u32>(r.
create()); }))
2524 .function(
"valid", optional_override([](
Registry& r,
u32 entity) {
return r.
valid(
static_cast<Entity>(entity)); }))
2529 .function(
"setEntityEnabled", optional_override([](
Registry& r,
u32 entity,
bool enabled) {
return r.
setEntityEnabled(
static_cast<Entity>(entity), enabled); }))
2536 .function(
"changeTick", optional_override([](
Registry& r) {
return r.
changeTick(); }))
2538 .function(
"setChangeAudit", optional_override([](
Registry& r,
bool enabled) { r.
setChangeAudit(enabled); }))
2543 .function(
"getBuiltinComponentNames", optional_override([](
Registry& r,
u32 e) {
2544 const auto entity =
static_cast<Entity>(e);
2605 .function(
"componentTypeId", optional_override([](
Registry&,
const std::string& name) {
2666 .function(
"hasBillboard", optional_override([](
Registry& r,
u32 e) {
2670 auto entity =
static_cast<Entity>(e);
2674 }), allow_raw_pointers())
2676 auto entity =
static_cast<Entity>(e);
2677 if (!r.
valid(entity))
return;
2680 .function(
"removeBillboard", optional_override([](
Registry& r,
u32 e) {
2681 auto entity =
static_cast<Entity>(e);
2687 .function(
"hasBitmapText", optional_override([](
Registry& r,
u32 e) {
2690 .function(
"getBitmapText", optional_override([](
Registry& r,
u32 e) {
2691 auto entity =
static_cast<Entity>(e);
2696 auto entity =
static_cast<Entity>(e);
2697 if (!r.
valid(entity))
return;
2704 .function(
"removeBitmapText", optional_override([](
Registry& r,
u32 e) {
2705 auto entity =
static_cast<Entity>(e);
2711 .function(
"hasBoxCollider2D", optional_override([](
Registry& r,
u32 e) {
2715 auto entity =
static_cast<Entity>(e);
2719 }), allow_raw_pointers())
2721 auto entity =
static_cast<Entity>(e);
2722 if (!r.
valid(entity))
return;
2725 .function(
"removeBoxCollider2D", optional_override([](
Registry& r,
u32 e) {
2726 auto entity =
static_cast<Entity>(e);
2732 .function(
"hasBoxCollider3D", optional_override([](
Registry& r,
u32 e) {
2736 auto entity =
static_cast<Entity>(e);
2740 }), allow_raw_pointers())
2742 auto entity =
static_cast<Entity>(e);
2743 if (!r.
valid(entity))
return;
2746 .function(
"removeBoxCollider3D", optional_override([](
Registry& r,
u32 e) {
2747 auto entity =
static_cast<Entity>(e);
2753 .function(
"hasCamera", optional_override([](
Registry& r,
u32 e) {
2756 .function(
"getCamera", optional_override([](
Registry& r,
u32 e) {
2757 auto entity =
static_cast<Entity>(e);
2762 auto entity =
static_cast<Entity>(e);
2763 if (!r.
valid(entity))
return;
2770 .function(
"removeCamera", optional_override([](
Registry& r,
u32 e) {
2771 auto entity =
static_cast<Entity>(e);
2777 .function(
"hasCanvas", optional_override([](
Registry& r,
u32 e) {
2780 .function(
"getCanvas", optional_override([](
Registry& r,
u32 e) {
2781 auto entity =
static_cast<Entity>(e);
2786 auto entity =
static_cast<Entity>(e);
2787 if (!r.
valid(entity))
return;
2794 .function(
"removeCanvas", optional_override([](
Registry& r,
u32 e) {
2795 auto entity =
static_cast<Entity>(e);
2801 .function(
"hasCapsuleCollider2D", optional_override([](
Registry& r,
u32 e) {
2805 auto entity =
static_cast<Entity>(e);
2809 }), allow_raw_pointers())
2811 auto entity =
static_cast<Entity>(e);
2812 if (!r.
valid(entity))
return;
2815 .function(
"removeCapsuleCollider2D", optional_override([](
Registry& r,
u32 e) {
2816 auto entity =
static_cast<Entity>(e);
2822 .function(
"hasCapsuleCollider3D", optional_override([](
Registry& r,
u32 e) {
2826 auto entity =
static_cast<Entity>(e);
2830 }), allow_raw_pointers())
2832 auto entity =
static_cast<Entity>(e);
2833 if (!r.
valid(entity))
return;
2836 .function(
"removeCapsuleCollider3D", optional_override([](
Registry& r,
u32 e) {
2837 auto entity =
static_cast<Entity>(e);
2843 .function(
"hasCharacterController3D", optional_override([](
Registry& r,
u32 e) {
2847 auto entity =
static_cast<Entity>(e);
2851 }), allow_raw_pointers())
2853 auto entity =
static_cast<Entity>(e);
2854 if (!r.
valid(entity))
return;
2857 .function(
"removeCharacterController3D", optional_override([](
Registry& r,
u32 e) {
2858 auto entity =
static_cast<Entity>(e);
2864 .function(
"hasChildren", optional_override([](
Registry& r,
u32 e) {
2867 .function(
"getChildren", optional_override([](
Registry& r,
u32 e) {
2868 auto entity =
static_cast<Entity>(e);
2873 auto entity =
static_cast<Entity>(e);
2874 if (!r.
valid(entity))
return;
2875 for (
auto v : js.entities) {
2879 .function(
"removeChildren", optional_override([](
Registry& r,
u32 e) {
2880 auto entity =
static_cast<Entity>(e);
2883 for (
auto child : kids) {
2889 .function(
"hasCircleCollider2D", optional_override([](
Registry& r,
u32 e) {
2893 auto entity =
static_cast<Entity>(e);
2897 }), allow_raw_pointers())
2899 auto entity =
static_cast<Entity>(e);
2900 if (!r.
valid(entity))
return;
2903 .function(
"removeCircleCollider2D", optional_override([](
Registry& r,
u32 e) {
2904 auto entity =
static_cast<Entity>(e);
2910 .function(
"hasContentRect", optional_override([](
Registry& r,
u32 e) {
2914 auto entity =
static_cast<Entity>(e);
2918 }), allow_raw_pointers())
2920 auto entity =
static_cast<Entity>(e);
2921 if (!r.
valid(entity))
return;
2924 .function(
"removeContentRect", optional_override([](
Registry& r,
u32 e) {
2925 auto entity =
static_cast<Entity>(e);
2931 .function(
"hasConvexCollider3D", optional_override([](
Registry& r,
u32 e) {
2934 .function(
"getConvexCollider3D", optional_override([](
Registry& r,
u32 e) {
2935 auto entity =
static_cast<Entity>(e);
2940 auto entity =
static_cast<Entity>(e);
2941 if (!r.
valid(entity))
return;
2948 .function(
"removeConvexCollider3D", optional_override([](
Registry& r,
u32 e) {
2949 auto entity =
static_cast<Entity>(e);
2955 .function(
"hasDraggable", optional_override([](
Registry& r,
u32 e) {
2959 auto entity =
static_cast<Entity>(e);
2963 }), allow_raw_pointers())
2965 auto entity =
static_cast<Entity>(e);
2966 if (!r.
valid(entity))
return;
2969 .function(
"removeDraggable", optional_override([](
Registry& r,
u32 e) {
2970 auto entity =
static_cast<Entity>(e);
2976 .function(
"hasDragonBonesAnimation", optional_override([](
Registry& r,
u32 e) {
2980 auto entity =
static_cast<Entity>(e);
2984 }), allow_raw_pointers())
2986 auto entity =
static_cast<Entity>(e);
2987 if (!r.
valid(entity))
return;
2990 .function(
"removeDragonBonesAnimation", optional_override([](
Registry& r,
u32 e) {
2991 auto entity =
static_cast<Entity>(e);
2997 .function(
"hasFlexContainer", optional_override([](
Registry& r,
u32 e) {
3000 .function(
"getFlexContainer", optional_override([](
Registry& r,
u32 e) {
3001 auto entity =
static_cast<Entity>(e);
3006 auto entity =
static_cast<Entity>(e);
3007 if (!r.
valid(entity))
return;
3014 .function(
"removeFlexContainer", optional_override([](
Registry& r,
u32 e) {
3015 auto entity =
static_cast<Entity>(e);
3021 .function(
"hasGroupOpacity", optional_override([](
Registry& r,
u32 e) {
3025 auto entity =
static_cast<Entity>(e);
3029 }), allow_raw_pointers())
3031 auto entity =
static_cast<Entity>(e);
3032 if (!r.
valid(entity))
return;
3035 .function(
"removeGroupOpacity", optional_override([](
Registry& r,
u32 e) {
3036 auto entity =
static_cast<Entity>(e);
3042 .function(
"hasImpostor", optional_override([](
Registry& r,
u32 e) {
3046 auto entity =
static_cast<Entity>(e);
3050 }), allow_raw_pointers())
3052 auto entity =
static_cast<Entity>(e);
3053 if (!r.
valid(entity))
return;
3056 .function(
"removeImpostor", optional_override([](
Registry& r,
u32 e) {
3057 auto entity =
static_cast<Entity>(e);
3063 .function(
"hasInteractable", optional_override([](
Registry& r,
u32 e) {
3067 auto entity =
static_cast<Entity>(e);
3071 }), allow_raw_pointers())
3073 auto entity =
static_cast<Entity>(e);
3074 if (!r.
valid(entity))
return;
3077 .function(
"removeInteractable", optional_override([](
Registry& r,
u32 e) {
3078 auto entity =
static_cast<Entity>(e);
3084 .function(
"hasLODGroup", optional_override([](
Registry& r,
u32 e) {
3087 .function(
"getLODGroup", optional_override([](
Registry& r,
u32 e) {
3088 auto entity =
static_cast<Entity>(e);
3093 auto entity =
static_cast<Entity>(e);
3094 if (!r.
valid(entity))
return;
3101 .function(
"removeLODGroup", optional_override([](
Registry& r,
u32 e) {
3102 auto entity =
static_cast<Entity>(e);
3108 .function(
"hasLight", optional_override([](
Registry& r,
u32 e) {
3111 .function(
"getLight", optional_override([](
Registry& r,
u32 e) {
3112 auto entity =
static_cast<Entity>(e);
3117 auto entity =
static_cast<Entity>(e);
3118 if (!r.
valid(entity))
return;
3125 .function(
"removeLight", optional_override([](
Registry& r,
u32 e) {
3126 auto entity =
static_cast<Entity>(e);
3132 .function(
"hasLightProbeVolume", optional_override([](
Registry& r,
u32 e) {
3135 .function(
"getLightProbeVolume", optional_override([](
Registry& r,
u32 e) {
3136 auto entity =
static_cast<Entity>(e);
3141 auto entity =
static_cast<Entity>(e);
3142 if (!r.
valid(entity))
return;
3149 .function(
"removeLightProbeVolume", optional_override([](
Registry& r,
u32 e) {
3150 auto entity =
static_cast<Entity>(e);
3156 .function(
"hasMeshCollider3D", optional_override([](
Registry& r,
u32 e) {
3159 .function(
"getMeshCollider3D", optional_override([](
Registry& r,
u32 e) {
3160 auto entity =
static_cast<Entity>(e);
3165 auto entity =
static_cast<Entity>(e);
3166 if (!r.
valid(entity))
return;
3173 .function(
"removeMeshCollider3D", optional_override([](
Registry& r,
u32 e) {
3174 auto entity =
static_cast<Entity>(e);
3180 .function(
"hasMeshInstances", optional_override([](
Registry& r,
u32 e) {
3183 .function(
"getMeshInstances", optional_override([](
Registry& r,
u32 e) {
3184 auto entity =
static_cast<Entity>(e);
3189 auto entity =
static_cast<Entity>(e);
3190 if (!r.
valid(entity))
return;
3197 .function(
"removeMeshInstances", optional_override([](
Registry& r,
u32 e) {
3198 auto entity =
static_cast<Entity>(e);
3204 .function(
"hasMeshLightmap", optional_override([](
Registry& r,
u32 e) {
3207 .function(
"getMeshLightmap", optional_override([](
Registry& r,
u32 e) {
3208 auto entity =
static_cast<Entity>(e);
3213 auto entity =
static_cast<Entity>(e);
3214 if (!r.
valid(entity))
return;
3221 .function(
"removeMeshLightmap", optional_override([](
Registry& r,
u32 e) {
3222 auto entity =
static_cast<Entity>(e);
3228 .function(
"hasMeshMorph", optional_override([](
Registry& r,
u32 e) {
3232 auto entity =
static_cast<Entity>(e);
3236 }), allow_raw_pointers())
3238 auto entity =
static_cast<Entity>(e);
3239 if (!r.
valid(entity))
return;
3242 .function(
"removeMeshMorph", optional_override([](
Registry& r,
u32 e) {
3243 auto entity =
static_cast<Entity>(e);
3249 .function(
"hasMeshRenderer", optional_override([](
Registry& r,
u32 e) {
3252 .function(
"getMeshRenderer", optional_override([](
Registry& r,
u32 e) {
3253 auto entity =
static_cast<Entity>(e);
3258 auto entity =
static_cast<Entity>(e);
3259 if (!r.
valid(entity))
return;
3266 .function(
"removeMeshRenderer", optional_override([](
Registry& r,
u32 e) {
3267 auto entity =
static_cast<Entity>(e);
3273 .function(
"hasMeshSkin", optional_override([](
Registry& r,
u32 e) {
3276 .function(
"getMeshSkin", optional_override([](
Registry& r,
u32 e) {
3277 auto entity =
static_cast<Entity>(e);
3282 auto entity =
static_cast<Entity>(e);
3283 if (!r.
valid(entity))
return;
3290 .function(
"removeMeshSkin", optional_override([](
Registry& r,
u32 e) {
3291 auto entity =
static_cast<Entity>(e);
3297 .function(
"hasOccluder", optional_override([](
Registry& r,
u32 e) {
3301 auto entity =
static_cast<Entity>(e);
3305 }), allow_raw_pointers())
3307 auto entity =
static_cast<Entity>(e);
3308 if (!r.
valid(entity))
return;
3311 .function(
"removeOccluder", optional_override([](
Registry& r,
u32 e) {
3312 auto entity =
static_cast<Entity>(e);
3318 .function(
"hasParent", optional_override([](
Registry& r,
u32 e) {
3321 .function(
"getParent", optional_override([](
Registry& r,
u32 e) {
3322 auto entity =
static_cast<Entity>(e);
3327 auto entity =
static_cast<Entity>(e);
3328 if (!r.
valid(entity))
return;
3331 .function(
"removeParent", optional_override([](
Registry& r,
u32 e) {
3332 auto entity =
static_cast<Entity>(e);
3338 .function(
"hasParticleCollider", optional_override([](
Registry& r,
u32 e) {
3342 auto entity =
static_cast<Entity>(e);
3346 }), allow_raw_pointers())
3348 auto entity =
static_cast<Entity>(e);
3349 if (!r.
valid(entity))
return;
3352 .function(
"removeParticleCollider", optional_override([](
Registry& r,
u32 e) {
3353 auto entity =
static_cast<Entity>(e);
3359 .function(
"hasParticleEmitter", optional_override([](
Registry& r,
u32 e) {
3362 .function(
"getParticleEmitter", optional_override([](
Registry& r,
u32 e) {
3363 auto entity =
static_cast<Entity>(e);
3368 auto entity =
static_cast<Entity>(e);
3369 if (!r.
valid(entity))
return;
3376 .function(
"removeParticleEmitter", optional_override([](
Registry& r,
u32 e) {
3377 auto entity =
static_cast<Entity>(e);
3383 .function(
"hasParticleForceField", optional_override([](
Registry& r,
u32 e) {
3387 auto entity =
static_cast<Entity>(e);
3391 }), allow_raw_pointers())
3393 auto entity =
static_cast<Entity>(e);
3394 if (!r.
valid(entity))
return;
3397 .function(
"removeParticleForceField", optional_override([](
Registry& r,
u32 e) {
3398 auto entity =
static_cast<Entity>(e);
3404 .function(
"hasPlanarReflection", optional_override([](
Registry& r,
u32 e) {
3407 .function(
"getPlanarReflection", optional_override([](
Registry& r,
u32 e) {
3408 auto entity =
static_cast<Entity>(e);
3413 auto entity =
static_cast<Entity>(e);
3414 if (!r.
valid(entity))
return;
3421 .function(
"removePlanarReflection", optional_override([](
Registry& r,
u32 e) {
3422 auto entity =
static_cast<Entity>(e);
3428 .function(
"hasReflectionProbe", optional_override([](
Registry& r,
u32 e) {
3431 .function(
"getReflectionProbe", optional_override([](
Registry& r,
u32 e) {
3432 auto entity =
static_cast<Entity>(e);
3437 auto entity =
static_cast<Entity>(e);
3438 if (!r.
valid(entity))
return;
3445 .function(
"removeReflectionProbe", optional_override([](
Registry& r,
u32 e) {
3446 auto entity =
static_cast<Entity>(e);
3452 .function(
"hasRigidBody2D", optional_override([](
Registry& r,
u32 e) {
3455 .function(
"getRigidBody2D", optional_override([](
Registry& r,
u32 e) {
3456 auto entity =
static_cast<Entity>(e);
3461 auto entity =
static_cast<Entity>(e);
3462 if (!r.
valid(entity))
return;
3469 .function(
"removeRigidBody2D", optional_override([](
Registry& r,
u32 e) {
3470 auto entity =
static_cast<Entity>(e);
3476 .function(
"hasRigidBody3D", optional_override([](
Registry& r,
u32 e) {
3479 .function(
"getRigidBody3D", optional_override([](
Registry& r,
u32 e) {
3480 auto entity =
static_cast<Entity>(e);
3485 auto entity =
static_cast<Entity>(e);
3486 if (!r.
valid(entity))
return;
3493 .function(
"removeRigidBody3D", optional_override([](
Registry& r,
u32 e) {
3494 auto entity =
static_cast<Entity>(e);
3500 .function(
"hasSegmentCollider2D", optional_override([](
Registry& r,
u32 e) {
3504 auto entity =
static_cast<Entity>(e);
3508 }), allow_raw_pointers())
3510 auto entity =
static_cast<Entity>(e);
3511 if (!r.
valid(entity))
return;
3514 .function(
"removeSegmentCollider2D", optional_override([](
Registry& r,
u32 e) {
3515 auto entity =
static_cast<Entity>(e);
3521 .function(
"hasShadowCaster2D", optional_override([](
Registry& r,
u32 e) {
3524 .function(
"getShadowCaster2D", optional_override([](
Registry& r,
u32 e) {
3525 auto entity =
static_cast<Entity>(e);
3530 auto entity =
static_cast<Entity>(e);
3531 if (!r.
valid(entity))
return;
3538 .function(
"removeShadowCaster2D", optional_override([](
Registry& r,
u32 e) {
3539 auto entity =
static_cast<Entity>(e);
3545 .function(
"hasShapeRenderer", optional_override([](
Registry& r,
u32 e) {
3549 auto entity =
static_cast<Entity>(e);
3553 }), allow_raw_pointers())
3555 auto entity =
static_cast<Entity>(e);
3556 if (!r.
valid(entity))
return;
3559 .function(
"removeShapeRenderer", optional_override([](
Registry& r,
u32 e) {
3560 auto entity =
static_cast<Entity>(e);
3566 .function(
"hasSortingGroup", optional_override([](
Registry& r,
u32 e) {
3570 auto entity =
static_cast<Entity>(e);
3574 }), allow_raw_pointers())
3576 auto entity =
static_cast<Entity>(e);
3577 if (!r.
valid(entity))
return;
3580 .function(
"removeSortingGroup", optional_override([](
Registry& r,
u32 e) {
3581 auto entity =
static_cast<Entity>(e);
3587 .function(
"hasSphereCollider3D", optional_override([](
Registry& r,
u32 e) {
3591 auto entity =
static_cast<Entity>(e);
3595 }), allow_raw_pointers())
3597 auto entity =
static_cast<Entity>(e);
3598 if (!r.
valid(entity))
return;
3601 .function(
"removeSphereCollider3D", optional_override([](
Registry& r,
u32 e) {
3602 auto entity =
static_cast<Entity>(e);
3608 .function(
"hasSpineAnimation", optional_override([](
Registry& r,
u32 e) {
3612 auto entity =
static_cast<Entity>(e);
3616 }), allow_raw_pointers())
3618 auto entity =
static_cast<Entity>(e);
3619 if (!r.
valid(entity))
return;
3622 .function(
"removeSpineAnimation", optional_override([](
Registry& r,
u32 e) {
3623 auto entity =
static_cast<Entity>(e);
3629 .function(
"hasSpringBone", optional_override([](
Registry& r,
u32 e) {
3632 .function(
"getSpringBone", optional_override([](
Registry& r,
u32 e) {
3633 auto entity =
static_cast<Entity>(e);
3638 auto entity =
static_cast<Entity>(e);
3639 if (!r.
valid(entity))
return;
3646 .function(
"removeSpringBone", optional_override([](
Registry& r,
u32 e) {
3647 auto entity =
static_cast<Entity>(e);
3653 .function(
"hasSpringBoneCollider", optional_override([](
Registry& r,
u32 e) {
3656 .function(
"getSpringBoneCollider", optional_override([](
Registry& r,
u32 e) {
3657 auto entity =
static_cast<Entity>(e);
3662 auto entity =
static_cast<Entity>(e);
3663 if (!r.
valid(entity))
return;
3670 .function(
"removeSpringBoneCollider", optional_override([](
Registry& r,
u32 e) {
3671 auto entity =
static_cast<Entity>(e);
3677 .function(
"hasSprite", optional_override([](
Registry& r,
u32 e) {
3680 .function(
"getSprite", optional_override([](
Registry& r,
u32 e) {
3681 auto entity =
static_cast<Entity>(e);
3686 auto entity =
static_cast<Entity>(e);
3687 if (!r.
valid(entity))
return;
3694 .function(
"removeSprite", optional_override([](
Registry& r,
u32 e) {
3695 auto entity =
static_cast<Entity>(e);
3701 .function(
"hasSpriteMask", optional_override([](
Registry& r,
u32 e) {
3705 auto entity =
static_cast<Entity>(e);
3709 }), allow_raw_pointers())
3711 auto entity =
static_cast<Entity>(e);
3712 if (!r.
valid(entity))
return;
3715 .function(
"removeSpriteMask", optional_override([](
Registry& r,
u32 e) {
3716 auto entity =
static_cast<Entity>(e);
3722 .function(
"hasTilemapLayer", optional_override([](
Registry& r,
u32 e) {
3725 .function(
"getTilemapLayer", optional_override([](
Registry& r,
u32 e) {
3726 auto entity =
static_cast<Entity>(e);
3731 auto entity =
static_cast<Entity>(e);
3732 if (!r.
valid(entity))
return;
3739 .function(
"removeTilemapLayer", optional_override([](
Registry& r,
u32 e) {
3740 auto entity =
static_cast<Entity>(e);
3746 .function(
"hasTrailRenderer", optional_override([](
Registry& r,
u32 e) {
3749 .function(
"getTrailRenderer", optional_override([](
Registry& r,
u32 e) {
3750 auto entity =
static_cast<Entity>(e);
3755 auto entity =
static_cast<Entity>(e);
3756 if (!r.
valid(entity))
return;
3763 .function(
"removeTrailRenderer", optional_override([](
Registry& r,
u32 e) {
3764 auto entity =
static_cast<Entity>(e);
3770 .function(
"hasTransform", optional_override([](
Registry& r,
u32 e) {
3774 auto entity =
static_cast<Entity>(e);
3778 c.ensureDecomposed();
3780 }), allow_raw_pointers())
3782 auto entity =
static_cast<Entity>(e);
3783 if (!r.
valid(entity))
return;
3786 .function(
"removeTransform", optional_override([](
Registry& r,
u32 e) {
3787 auto entity =
static_cast<Entity>(e);
3793 .function(
"hasUIInteraction", optional_override([](
Registry& r,
u32 e) {
3797 auto entity =
static_cast<Entity>(e);
3801 }), allow_raw_pointers())
3803 auto entity =
static_cast<Entity>(e);
3804 if (!r.
valid(entity))
return;
3807 .function(
"removeUIInteraction", optional_override([](
Registry& r,
u32 e) {
3808 auto entity =
static_cast<Entity>(e);
3814 .function(
"hasUIMask", optional_override([](
Registry& r,
u32 e) {
3817 .function(
"getUIMask", optional_override([](
Registry& r,
u32 e) {
3818 auto entity =
static_cast<Entity>(e);
3823 auto entity =
static_cast<Entity>(e);
3824 if (!r.
valid(entity))
return;
3831 .function(
"removeUIMask", optional_override([](
Registry& r,
u32 e) {
3832 auto entity =
static_cast<Entity>(e);
3838 .function(
"hasUINode", optional_override([](
Registry& r,
u32 e) {
3841 .function(
"getUINode", optional_override([](
Registry& r,
u32 e) {
3842 auto entity =
static_cast<Entity>(e);
3847 auto entity =
static_cast<Entity>(e);
3848 if (!r.
valid(entity))
return;
3855 .function(
"removeUINode", optional_override([](
Registry& r,
u32 e) {
3856 auto entity =
static_cast<Entity>(e);
3862 .function(
"hasUIScroll", optional_override([](
Registry& r,
u32 e) {
3865 .function(
"getUIScroll", optional_override([](
Registry& r,
u32 e) {
3866 auto entity =
static_cast<Entity>(e);
3871 auto entity =
static_cast<Entity>(e);
3872 if (!r.
valid(entity))
return;
3879 .function(
"removeUIScroll", optional_override([](
Registry& r,
u32 e) {
3880 auto entity =
static_cast<Entity>(e);
3886 .function(
"hasUIVisual", optional_override([](
Registry& r,
u32 e) {
3889 .function(
"getUIVisual", optional_override([](
Registry& r,
u32 e) {
3890 auto entity =
static_cast<Entity>(e);
3895 auto entity =
static_cast<Entity>(e);
3896 if (!r.
valid(entity))
return;
3903 .function(
"removeUIVisual", optional_override([](
Registry& r,
u32 e) {
3904 auto entity =
static_cast<Entity>(e);
3910 .function(
"hasVelocity", optional_override([](
Registry& r,
u32 e) {
3914 auto entity =
static_cast<Entity>(e);
3918 }), allow_raw_pointers())
3920 auto entity =
static_cast<Entity>(e);
3921 if (!r.
valid(entity))
return;
3924 .function(
"removeVelocity", optional_override([](
Registry& r,
u32 e) {
3925 auto entity =
static_cast<Entity>(e);
3934 emscripten::function(
"getBillboardPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3937 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3939 emscripten::function(
"getBoxCollider2DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3942 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3944 emscripten::function(
"getBoxCollider3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3947 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3949 emscripten::function(
"getCameraPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3952 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3954 emscripten::function(
"getCanvasPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3957 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3959 emscripten::function(
"getCapsuleCollider2DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3962 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3964 emscripten::function(
"getCapsuleCollider3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3967 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3969 emscripten::function(
"getCharacterController3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3972 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3974 emscripten::function(
"getCircleCollider2DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3977 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3979 emscripten::function(
"getContentRectPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3982 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3984 emscripten::function(
"getConvexCollider3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3987 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3989 emscripten::function(
"getDraggablePtr", optional_override([](
Registry& r,
u32 e) ->
int {
3992 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3994 emscripten::function(
"getFlexContainerPtr", optional_override([](
Registry& r,
u32 e) ->
int {
3997 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
3999 emscripten::function(
"getGroupOpacityPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4002 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4004 emscripten::function(
"getImpostorPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4007 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4009 emscripten::function(
"getInteractablePtr", optional_override([](
Registry& r,
u32 e) ->
int {
4012 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4014 emscripten::function(
"getLODGroupPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4017 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4019 emscripten::function(
"getLightPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4022 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4024 emscripten::function(
"getLightProbeVolumePtr", optional_override([](
Registry& r,
u32 e) ->
int {
4027 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4029 emscripten::function(
"getMeshCollider3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4032 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4034 emscripten::function(
"getMeshInstancesPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4037 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4039 emscripten::function(
"getMeshLightmapPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4042 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4044 emscripten::function(
"getMeshRendererPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4047 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4049 emscripten::function(
"getOccluderPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4052 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4054 emscripten::function(
"getParticleColliderPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4057 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4059 emscripten::function(
"getParticleEmitterPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4062 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4064 emscripten::function(
"getParticleForceFieldPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4067 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4069 emscripten::function(
"getPlanarReflectionPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4072 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4074 emscripten::function(
"getReflectionProbePtr", optional_override([](
Registry& r,
u32 e) ->
int {
4077 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4079 emscripten::function(
"getRigidBody2DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4082 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4084 emscripten::function(
"getRigidBody3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4087 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4089 emscripten::function(
"getSegmentCollider2DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4092 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4094 emscripten::function(
"getShapeRendererPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4097 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4099 emscripten::function(
"getSortingGroupPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4102 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4104 emscripten::function(
"getSphereCollider3DPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4107 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4109 emscripten::function(
"getSpringBoneColliderPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4112 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4114 emscripten::function(
"getSpritePtr", optional_override([](
Registry& r,
u32 e) ->
int {
4117 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4119 emscripten::function(
"getSpriteMaskPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4122 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4124 emscripten::function(
"getTilemapLayerPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4127 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4129 emscripten::function(
"getTrailRendererPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4132 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4134 emscripten::function(
"getTransformPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4138 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4140 emscripten::function(
"getUIInteractionPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4143 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4145 emscripten::function(
"getUIMaskPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4148 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4150 emscripten::function(
"getUINodePtr", optional_override([](
Registry& r,
u32 e) ->
int {
4153 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4155 emscripten::function(
"getUIScrollPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4158 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4160 emscripten::function(
"getUIVisualPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4163 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4165 emscripten::function(
"getVelocityPtr", optional_override([](
Registry& r,
u32 e) ->
int {
4168 return static_cast<int>(
reinterpret_cast<uintptr_t
>(c));
4178 using namespace emscripten;
4179 auto arr = val::array();
4181 arr.set(i++, val(std::string(
"Billboard")));
4182 arr.set(i++, val(std::string(
"BitmapText")));
4183 arr.set(i++, val(std::string(
"BoxCollider2D")));
4184 arr.set(i++, val(std::string(
"BoxCollider3D")));
4185 arr.set(i++, val(std::string(
"Camera")));
4186 arr.set(i++, val(std::string(
"Canvas")));
4187 arr.set(i++, val(std::string(
"CapsuleCollider2D")));
4188 arr.set(i++, val(std::string(
"CapsuleCollider3D")));
4189 arr.set(i++, val(std::string(
"CharacterController3D")));
4190 arr.set(i++, val(std::string(
"Children")));
4191 arr.set(i++, val(std::string(
"CircleCollider2D")));
4192 arr.set(i++, val(std::string(
"ContentRect")));
4193 arr.set(i++, val(std::string(
"ConvexCollider3D")));
4194 arr.set(i++, val(std::string(
"Draggable")));
4195 arr.set(i++, val(std::string(
"DragonBonesAnimation")));
4196 arr.set(i++, val(std::string(
"FlexContainer")));
4197 arr.set(i++, val(std::string(
"GroupOpacity")));
4198 arr.set(i++, val(std::string(
"Impostor")));
4199 arr.set(i++, val(std::string(
"Interactable")));
4200 arr.set(i++, val(std::string(
"LODGroup")));
4201 arr.set(i++, val(std::string(
"Light")));
4202 arr.set(i++, val(std::string(
"LightProbeVolume")));
4203 arr.set(i++, val(std::string(
"MeshCollider3D")));
4204 arr.set(i++, val(std::string(
"MeshInstances")));
4205 arr.set(i++, val(std::string(
"MeshLightmap")));
4206 arr.set(i++, val(std::string(
"MeshMorph")));
4207 arr.set(i++, val(std::string(
"MeshRenderer")));
4208 arr.set(i++, val(std::string(
"MeshSkin")));
4209 arr.set(i++, val(std::string(
"Occluder")));
4210 arr.set(i++, val(std::string(
"Parent")));
4211 arr.set(i++, val(std::string(
"ParticleCollider")));
4212 arr.set(i++, val(std::string(
"ParticleEmitter")));
4213 arr.set(i++, val(std::string(
"ParticleForceField")));
4214 arr.set(i++, val(std::string(
"PlanarReflection")));
4215 arr.set(i++, val(std::string(
"ReflectionProbe")));
4216 arr.set(i++, val(std::string(
"RigidBody2D")));
4217 arr.set(i++, val(std::string(
"RigidBody3D")));
4218 arr.set(i++, val(std::string(
"SegmentCollider2D")));
4219 arr.set(i++, val(std::string(
"ShadowCaster2D")));
4220 arr.set(i++, val(std::string(
"ShapeRenderer")));
4221 arr.set(i++, val(std::string(
"SortingGroup")));
4222 arr.set(i++, val(std::string(
"SphereCollider3D")));
4223 arr.set(i++, val(std::string(
"SpineAnimation")));
4224 arr.set(i++, val(std::string(
"SpringBone")));
4225 arr.set(i++, val(std::string(
"SpringBoneCollider")));
4226 arr.set(i++, val(std::string(
"Sprite")));
4227 arr.set(i++, val(std::string(
"SpriteMask")));
4228 arr.set(i++, val(std::string(
"TilemapLayer")));
4229 arr.set(i++, val(std::string(
"TrailRenderer")));
4230 arr.set(i++, val(std::string(
"Transform")));
4231 arr.set(i++, val(std::string(
"UIInteraction")));
4232 arr.set(i++, val(std::string(
"UIMask")));
4233 arr.set(i++, val(std::string(
"UINode")));
4234 arr.set(i++, val(std::string(
"UIScroll")));
4235 arr.set(i++, val(std::string(
"UIVisual")));
4236 arr.set(i++, val(std::string(
"Velocity")));
4251static_assert(offsetof(
esengine::ecs::Billboard, mode) == 0,
"ABI offset drift: esengine::ecs::Billboard.mode (EHT expected 0)");
4252static_assert(offsetof(
esengine::ecs::Billboard, enabled) == 4,
"ABI offset drift: esengine::ecs::Billboard.enabled (EHT expected 4)");
4253static_assert(offsetof(
esengine::ecs::BitmapText, color) == 12,
"ABI offset drift: esengine::ecs::BitmapText.color (EHT expected 12)");
4254static_assert(offsetof(
esengine::ecs::BitmapText, fontSize) == 28,
"ABI offset drift: esengine::ecs::BitmapText.fontSize (EHT expected 28)");
4255static_assert(offsetof(
esengine::ecs::BitmapText, align) == 32,
"ABI offset drift: esengine::ecs::BitmapText.align (EHT expected 32)");
4256static_assert(offsetof(
esengine::ecs::BitmapText, spacing) == 36,
"ABI offset drift: esengine::ecs::BitmapText.spacing (EHT expected 36)");
4257static_assert(offsetof(
esengine::ecs::BitmapText, parallax) == 40,
"ABI offset drift: esengine::ecs::BitmapText.parallax (EHT expected 40)");
4258static_assert(offsetof(
esengine::ecs::BitmapText, layer) == 48,
"ABI offset drift: esengine::ecs::BitmapText.layer (EHT expected 48)");
4259static_assert(offsetof(
esengine::ecs::BitmapText, font) == 52,
"ABI offset drift: esengine::ecs::BitmapText.font (EHT expected 52)");
4260static_assert(offsetof(
esengine::ecs::BitmapText, enabled) == 56,
"ABI offset drift: esengine::ecs::BitmapText.enabled (EHT expected 56)");
4261static_assert(offsetof(
esengine::ecs::BoxCollider2D, halfExtents) == 0,
"ABI offset drift: esengine::ecs::BoxCollider2D.halfExtents (EHT expected 0)");
4262static_assert(offsetof(
esengine::ecs::BoxCollider2D, offset) == 8,
"ABI offset drift: esengine::ecs::BoxCollider2D.offset (EHT expected 8)");
4263static_assert(offsetof(
esengine::ecs::BoxCollider2D, density) == 16,
"ABI offset drift: esengine::ecs::BoxCollider2D.density (EHT expected 16)");
4264static_assert(offsetof(
esengine::ecs::BoxCollider2D, friction) == 20,
"ABI offset drift: esengine::ecs::BoxCollider2D.friction (EHT expected 20)");
4265static_assert(offsetof(
esengine::ecs::BoxCollider2D, restitution) == 24,
"ABI offset drift: esengine::ecs::BoxCollider2D.restitution (EHT expected 24)");
4266static_assert(offsetof(
esengine::ecs::BoxCollider2D, isSensor) == 28,
"ABI offset drift: esengine::ecs::BoxCollider2D.isSensor (EHT expected 28)");
4267static_assert(offsetof(
esengine::ecs::BoxCollider2D, enabled) == 29,
"ABI offset drift: esengine::ecs::BoxCollider2D.enabled (EHT expected 29)");
4268static_assert(offsetof(
esengine::ecs::BoxCollider2D, categoryBits) == 32,
"ABI offset drift: esengine::ecs::BoxCollider2D.categoryBits (EHT expected 32)");
4269static_assert(offsetof(
esengine::ecs::BoxCollider2D, maskBits) == 36,
"ABI offset drift: esengine::ecs::BoxCollider2D.maskBits (EHT expected 36)");
4270static_assert(offsetof(
esengine::ecs::BoxCollider3D, halfExtents) == 0,
"ABI offset drift: esengine::ecs::BoxCollider3D.halfExtents (EHT expected 0)");
4271static_assert(offsetof(
esengine::ecs::BoxCollider3D, center) == 12,
"ABI offset drift: esengine::ecs::BoxCollider3D.center (EHT expected 12)");
4272static_assert(offsetof(
esengine::ecs::BoxCollider3D, friction) == 24,
"ABI offset drift: esengine::ecs::BoxCollider3D.friction (EHT expected 24)");
4273static_assert(offsetof(
esengine::ecs::BoxCollider3D, restitution) == 28,
"ABI offset drift: esengine::ecs::BoxCollider3D.restitution (EHT expected 28)");
4274static_assert(offsetof(
esengine::ecs::BoxCollider3D, isSensor) == 32,
"ABI offset drift: esengine::ecs::BoxCollider3D.isSensor (EHT expected 32)");
4275static_assert(offsetof(
esengine::ecs::BoxCollider3D, enabled) == 33,
"ABI offset drift: esengine::ecs::BoxCollider3D.enabled (EHT expected 33)");
4276static_assert(offsetof(
esengine::ecs::Camera, projectionType) == 0,
"ABI offset drift: esengine::ecs::Camera.projectionType (EHT expected 0)");
4277static_assert(offsetof(
esengine::ecs::Camera, fov) == 4,
"ABI offset drift: esengine::ecs::Camera.fov (EHT expected 4)");
4278static_assert(offsetof(
esengine::ecs::Camera, orthoSize) == 8,
"ABI offset drift: esengine::ecs::Camera.orthoSize (EHT expected 8)");
4279static_assert(offsetof(
esengine::ecs::Camera, nearPlane) == 12,
"ABI offset drift: esengine::ecs::Camera.nearPlane (EHT expected 12)");
4280static_assert(offsetof(
esengine::ecs::Camera, farPlane) == 16,
"ABI offset drift: esengine::ecs::Camera.farPlane (EHT expected 16)");
4281static_assert(offsetof(
esengine::ecs::Camera, aspectRatio) == 20,
"ABI offset drift: esengine::ecs::Camera.aspectRatio (EHT expected 20)");
4282static_assert(offsetof(
esengine::ecs::Camera, isActive) == 24,
"ABI offset drift: esengine::ecs::Camera.isActive (EHT expected 24)");
4283static_assert(offsetof(
esengine::ecs::Camera, priority) == 28,
"ABI offset drift: esengine::ecs::Camera.priority (EHT expected 28)");
4284static_assert(offsetof(
esengine::ecs::Camera, viewport) == 32,
"ABI offset drift: esengine::ecs::Camera.viewport (EHT expected 32)");
4285static_assert(offsetof(
esengine::ecs::Camera, clearFlags) == 48,
"ABI offset drift: esengine::ecs::Camera.clearFlags (EHT expected 48)");
4286static_assert(offsetof(
esengine::ecs::Camera, pixelPerfect) == 49,
"ABI offset drift: esengine::ecs::Camera.pixelPerfect (EHT expected 49)");
4287static_assert(offsetof(
esengine::ecs::Camera, cullingMask) == 52,
"ABI offset drift: esengine::ecs::Camera.cullingMask (EHT expected 52)");
4288static_assert(offsetof(
esengine::ecs::Camera, renderTarget) == 56,
"ABI offset drift: esengine::ecs::Camera.renderTarget (EHT expected 56)");
4289static_assert(offsetof(
esengine::ecs::Canvas, designResolution) == 0,
"ABI offset drift: esengine::ecs::Canvas.designResolution (EHT expected 0)");
4290static_assert(offsetof(
esengine::ecs::Canvas, pixelsPerUnit) == 8,
"ABI offset drift: esengine::ecs::Canvas.pixelsPerUnit (EHT expected 8)");
4291static_assert(offsetof(
esengine::ecs::Canvas, scaleMode) == 12,
"ABI offset drift: esengine::ecs::Canvas.scaleMode (EHT expected 12)");
4292static_assert(offsetof(
esengine::ecs::Canvas, matchWidthOrHeight) == 16,
"ABI offset drift: esengine::ecs::Canvas.matchWidthOrHeight (EHT expected 16)");
4293static_assert(offsetof(
esengine::ecs::Canvas, backgroundColor) == 20,
"ABI offset drift: esengine::ecs::Canvas.backgroundColor (EHT expected 20)");
4294static_assert(offsetof(
esengine::ecs::Canvas, layer) == 36,
"ABI offset drift: esengine::ecs::Canvas.layer (EHT expected 36)");
4296static_assert(offsetof(
esengine::ecs::CapsuleCollider2D, halfHeight) == 4,
"ABI offset drift: esengine::ecs::CapsuleCollider2D.halfHeight (EHT expected 4)");
4300static_assert(offsetof(
esengine::ecs::CapsuleCollider2D, restitution) == 24,
"ABI offset drift: esengine::ecs::CapsuleCollider2D.restitution (EHT expected 24)");
4303static_assert(offsetof(
esengine::ecs::CapsuleCollider2D, categoryBits) == 32,
"ABI offset drift: esengine::ecs::CapsuleCollider2D.categoryBits (EHT expected 32)");
4306static_assert(offsetof(
esengine::ecs::CapsuleCollider3D, halfHeight) == 4,
"ABI offset drift: esengine::ecs::CapsuleCollider3D.halfHeight (EHT expected 4)");
4309static_assert(offsetof(
esengine::ecs::CapsuleCollider3D, restitution) == 24,
"ABI offset drift: esengine::ecs::CapsuleCollider3D.restitution (EHT expected 24)");
4327static_assert(offsetof(
esengine::ecs::CircleCollider2D, density) == 12,
"ABI offset drift: esengine::ecs::CircleCollider2D.density (EHT expected 12)");
4328static_assert(offsetof(
esengine::ecs::CircleCollider2D, friction) == 16,
"ABI offset drift: esengine::ecs::CircleCollider2D.friction (EHT expected 16)");
4329static_assert(offsetof(
esengine::ecs::CircleCollider2D, restitution) == 20,
"ABI offset drift: esengine::ecs::CircleCollider2D.restitution (EHT expected 20)");
4330static_assert(offsetof(
esengine::ecs::CircleCollider2D, isSensor) == 24,
"ABI offset drift: esengine::ecs::CircleCollider2D.isSensor (EHT expected 24)");
4331static_assert(offsetof(
esengine::ecs::CircleCollider2D, enabled) == 25,
"ABI offset drift: esengine::ecs::CircleCollider2D.enabled (EHT expected 25)");
4332static_assert(offsetof(
esengine::ecs::CircleCollider2D, categoryBits) == 28,
"ABI offset drift: esengine::ecs::CircleCollider2D.categoryBits (EHT expected 28)");
4333static_assert(offsetof(
esengine::ecs::CircleCollider2D, maskBits) == 32,
"ABI offset drift: esengine::ecs::CircleCollider2D.maskBits (EHT expected 32)");
4334static_assert(offsetof(
esengine::ecs::ContentRect, size) == 0,
"ABI offset drift: esengine::ecs::ContentRect.size (EHT expected 0)");
4335static_assert(offsetof(
esengine::ecs::ContentRect, pivot) == 8,
"ABI offset drift: esengine::ecs::ContentRect.pivot (EHT expected 8)");
4337static_assert(offsetof(
esengine::ecs::ConvexCollider3D, friction) == 4,
"ABI offset drift: esengine::ecs::ConvexCollider3D.friction (EHT expected 4)");
4338static_assert(offsetof(
esengine::ecs::ConvexCollider3D, restitution) == 8,
"ABI offset drift: esengine::ecs::ConvexCollider3D.restitution (EHT expected 8)");
4339static_assert(offsetof(
esengine::ecs::ConvexCollider3D, isSensor) == 12,
"ABI offset drift: esengine::ecs::ConvexCollider3D.isSensor (EHT expected 12)");
4340static_assert(offsetof(
esengine::ecs::ConvexCollider3D, enabled) == 13,
"ABI offset drift: esengine::ecs::ConvexCollider3D.enabled (EHT expected 13)");
4341static_assert(offsetof(
esengine::ecs::Draggable, enabled) == 0,
"ABI offset drift: esengine::ecs::Draggable.enabled (EHT expected 0)");
4342static_assert(offsetof(
esengine::ecs::Draggable, dragThreshold) == 4,
"ABI offset drift: esengine::ecs::Draggable.dragThreshold (EHT expected 4)");
4343static_assert(offsetof(
esengine::ecs::Draggable, lockX) == 8,
"ABI offset drift: esengine::ecs::Draggable.lockX (EHT expected 8)");
4344static_assert(offsetof(
esengine::ecs::Draggable, lockY) == 9,
"ABI offset drift: esengine::ecs::Draggable.lockY (EHT expected 9)");
4345static_assert(offsetof(
esengine::ecs::Draggable, constrainMin) == 10,
"ABI offset drift: esengine::ecs::Draggable.constrainMin (EHT expected 10)");
4346static_assert(offsetof(
esengine::ecs::Draggable, constraintMin) == 12,
"ABI offset drift: esengine::ecs::Draggable.constraintMin (EHT expected 12)");
4347static_assert(offsetof(
esengine::ecs::Draggable, constrainMax) == 20,
"ABI offset drift: esengine::ecs::Draggable.constrainMax (EHT expected 20)");
4348static_assert(offsetof(
esengine::ecs::Draggable, constraintMax) == 24,
"ABI offset drift: esengine::ecs::Draggable.constraintMax (EHT expected 24)");
4357static_assert(offsetof(
esengine::ecs::DragonBonesAnimation, skeletonScale) == 84,
"ABI offset drift: esengine::ecs::DragonBonesAnimation.skeletonScale (EHT expected 84)");
4360static_assert(offsetof(
esengine::ecs::FlexContainer, direction) == 0,
"ABI offset drift: esengine::ecs::FlexContainer.direction (EHT expected 0)");
4361static_assert(offsetof(
esengine::ecs::FlexContainer, wrap) == 1,
"ABI offset drift: esengine::ecs::FlexContainer.wrap (EHT expected 1)");
4362static_assert(offsetof(
esengine::ecs::FlexContainer, justifyContent) == 2,
"ABI offset drift: esengine::ecs::FlexContainer.justifyContent (EHT expected 2)");
4363static_assert(offsetof(
esengine::ecs::FlexContainer, alignItems) == 3,
"ABI offset drift: esengine::ecs::FlexContainer.alignItems (EHT expected 3)");
4364static_assert(offsetof(
esengine::ecs::FlexContainer, alignContent) == 4,
"ABI offset drift: esengine::ecs::FlexContainer.alignContent (EHT expected 4)");
4366static_assert(offsetof(
esengine::ecs::FlexContainer, padding) == 16,
"ABI offset drift: esengine::ecs::FlexContainer.padding (EHT expected 16)");
4367static_assert(offsetof(
esengine::ecs::GroupOpacity, opacity) == 0,
"ABI offset drift: esengine::ecs::GroupOpacity.opacity (EHT expected 0)");
4368static_assert(offsetof(
esengine::ecs::GroupOpacity, enabled) == 4,
"ABI offset drift: esengine::ecs::GroupOpacity.enabled (EHT expected 4)");
4369static_assert(offsetof(
esengine::ecs::Impostor, screenSize) == 0,
"ABI offset drift: esengine::ecs::Impostor.screenSize (EHT expected 0)");
4370static_assert(offsetof(
esengine::ecs::Impostor, frames) == 4,
"ABI offset drift: esengine::ecs::Impostor.frames (EHT expected 4)");
4371static_assert(offsetof(
esengine::ecs::Impostor, resolution) == 8,
"ABI offset drift: esengine::ecs::Impostor.resolution (EHT expected 8)");
4372static_assert(offsetof(
esengine::ecs::Impostor, enabled) == 12,
"ABI offset drift: esengine::ecs::Impostor.enabled (EHT expected 12)");
4373static_assert(offsetof(
esengine::ecs::Interactable, enabled) == 0,
"ABI offset drift: esengine::ecs::Interactable.enabled (EHT expected 0)");
4374static_assert(offsetof(
esengine::ecs::Interactable, blockRaycast) == 1,
"ABI offset drift: esengine::ecs::Interactable.blockRaycast (EHT expected 1)");
4375static_assert(offsetof(
esengine::ecs::Interactable, raycastTarget) == 2,
"ABI offset drift: esengine::ecs::Interactable.raycastTarget (EHT expected 2)");
4376static_assert(offsetof(
esengine::ecs::LODGroup, lod1) == 0,
"ABI offset drift: esengine::ecs::LODGroup.lod1 (EHT expected 0)");
4377static_assert(offsetof(
esengine::ecs::LODGroup, lod2) == 4,
"ABI offset drift: esengine::ecs::LODGroup.lod2 (EHT expected 4)");
4378static_assert(offsetof(
esengine::ecs::LODGroup, lod3) == 8,
"ABI offset drift: esengine::ecs::LODGroup.lod3 (EHT expected 8)");
4379static_assert(offsetof(
esengine::ecs::LODGroup, lod1Size) == 12,
"ABI offset drift: esengine::ecs::LODGroup.lod1Size (EHT expected 12)");
4380static_assert(offsetof(
esengine::ecs::LODGroup, lod2Size) == 16,
"ABI offset drift: esengine::ecs::LODGroup.lod2Size (EHT expected 16)");
4381static_assert(offsetof(
esengine::ecs::LODGroup, lod3Size) == 20,
"ABI offset drift: esengine::ecs::LODGroup.lod3Size (EHT expected 20)");
4382static_assert(offsetof(
esengine::ecs::LODGroup, cullSize) == 24,
"ABI offset drift: esengine::ecs::LODGroup.cullSize (EHT expected 24)");
4383static_assert(offsetof(
esengine::ecs::LODGroup, hysteresis) == 28,
"ABI offset drift: esengine::ecs::LODGroup.hysteresis (EHT expected 28)");
4384static_assert(offsetof(
esengine::ecs::LODGroup, enabled) == 32,
"ABI offset drift: esengine::ecs::LODGroup.enabled (EHT expected 32)");
4385static_assert(offsetof(
esengine::ecs::Light, type) == 0,
"ABI offset drift: esengine::ecs::Light.type (EHT expected 0)");
4386static_assert(offsetof(
esengine::ecs::Light, color) == 4,
"ABI offset drift: esengine::ecs::Light.color (EHT expected 4)");
4387static_assert(offsetof(
esengine::ecs::Light, intensity) == 20,
"ABI offset drift: esengine::ecs::Light.intensity (EHT expected 20)");
4388static_assert(offsetof(
esengine::ecs::Light, radius) == 24,
"ABI offset drift: esengine::ecs::Light.radius (EHT expected 24)");
4389static_assert(offsetof(
esengine::ecs::Light, innerRadius) == 28,
"ABI offset drift: esengine::ecs::Light.innerRadius (EHT expected 28)");
4390static_assert(offsetof(
esengine::ecs::Light, falloff) == 32,
"ABI offset drift: esengine::ecs::Light.falloff (EHT expected 32)");
4391static_assert(offsetof(
esengine::ecs::Light, inverseSquare) == 36,
"ABI offset drift: esengine::ecs::Light.inverseSquare (EHT expected 36)");
4392static_assert(offsetof(
esengine::ecs::Light, shadowStrength) == 40,
"ABI offset drift: esengine::ecs::Light.shadowStrength (EHT expected 40)");
4393static_assert(offsetof(
esengine::ecs::Light, layerMin) == 44,
"ABI offset drift: esengine::ecs::Light.layerMin (EHT expected 44)");
4394static_assert(offsetof(
esengine::ecs::Light, layerMax) == 48,
"ABI offset drift: esengine::ecs::Light.layerMax (EHT expected 48)");
4395static_assert(offsetof(
esengine::ecs::Light, cookie) == 52,
"ABI offset drift: esengine::ecs::Light.cookie (EHT expected 52)");
4396static_assert(offsetof(
esengine::ecs::Light, cookieSize) == 56,
"ABI offset drift: esengine::ecs::Light.cookieSize (EHT expected 56)");
4397static_assert(offsetof(
esengine::ecs::Light, innerAngle) == 64,
"ABI offset drift: esengine::ecs::Light.innerAngle (EHT expected 64)");
4398static_assert(offsetof(
esengine::ecs::Light, outerAngle) == 68,
"ABI offset drift: esengine::ecs::Light.outerAngle (EHT expected 68)");
4399static_assert(offsetof(
esengine::ecs::Light, shadowSoftness) == 72,
"ABI offset drift: esengine::ecs::Light.shadowSoftness (EHT expected 72)");
4400static_assert(offsetof(
esengine::ecs::Light, sourceAngle) == 76,
"ABI offset drift: esengine::ecs::Light.sourceAngle (EHT expected 76)");
4401static_assert(offsetof(
esengine::ecs::Light, shadowDistance) == 80,
"ABI offset drift: esengine::ecs::Light.shadowDistance (EHT expected 80)");
4402static_assert(offsetof(
esengine::ecs::Light, meshShadows) == 84,
"ABI offset drift: esengine::ecs::Light.meshShadows (EHT expected 84)");
4403static_assert(offsetof(
esengine::ecs::Light, shadowExtent) == 88,
"ABI offset drift: esengine::ecs::Light.shadowExtent (EHT expected 88)");
4404static_assert(offsetof(
esengine::ecs::Light, cascadeSplit) == 92,
"ABI offset drift: esengine::ecs::Light.cascadeSplit (EHT expected 92)");
4405static_assert(offsetof(
esengine::ecs::Light, shadowBias) == 96,
"ABI offset drift: esengine::ecs::Light.shadowBias (EHT expected 96)");
4406static_assert(offsetof(
esengine::ecs::Light, shadowSlopeFloor) == 100,
"ABI offset drift: esengine::ecs::Light.shadowSlopeFloor (EHT expected 100)");
4407static_assert(offsetof(
esengine::ecs::Light, followEnvironmentSun) == 104,
"ABI offset drift: esengine::ecs::Light.followEnvironmentSun (EHT expected 104)");
4408static_assert(offsetof(
esengine::ecs::Light, aimFollowedSun) == 105,
"ABI offset drift: esengine::ecs::Light.aimFollowedSun (EHT expected 105)");
4409static_assert(offsetof(
esengine::ecs::Light, environment) == 108,
"ABI offset drift: esengine::ecs::Light.environment (EHT expected 108)");
4410static_assert(offsetof(
esengine::ecs::Light, environmentRotation) == 112,
"ABI offset drift: esengine::ecs::Light.environmentRotation (EHT expected 112)");
4411static_assert(offsetof(
esengine::ecs::Light, drawEnvironment) == 116,
"ABI offset drift: esengine::ecs::Light.drawEnvironment (EHT expected 116)");
4412static_assert(offsetof(
esengine::ecs::Light, reflectionScale) == 120,
"ABI offset drift: esengine::ecs::Light.reflectionScale (EHT expected 120)");
4413static_assert(offsetof(
esengine::ecs::Light, diffuseScale) == 124,
"ABI offset drift: esengine::ecs::Light.diffuseScale (EHT expected 124)");
4414static_assert(offsetof(
esengine::ecs::Light, diffuseTint) == 128,
"ABI offset drift: esengine::ecs::Light.diffuseTint (EHT expected 128)");
4415static_assert(offsetof(
esengine::ecs::Light, reflectionSaturation) == 144,
"ABI offset drift: esengine::ecs::Light.reflectionSaturation (EHT expected 144)");
4416static_assert(offsetof(
esengine::ecs::Light, bakedTint) == 148,
"ABI offset drift: esengine::ecs::Light.bakedTint (EHT expected 148)");
4417static_assert(offsetof(
esengine::ecs::Light, hemisphere) == 164,
"ABI offset drift: esengine::ecs::Light.hemisphere (EHT expected 164)");
4418static_assert(offsetof(
esengine::ecs::Light, groundColor) == 168,
"ABI offset drift: esengine::ecs::Light.groundColor (EHT expected 168)");
4419static_assert(offsetof(
esengine::ecs::Light, enabled) == 184,
"ABI offset drift: esengine::ecs::Light.enabled (EHT expected 184)");
4422static_assert(offsetof(
esengine::ecs::LightProbeVolume, captureInterval) == 8,
"ABI offset drift: esengine::ecs::LightProbeVolume.captureInterval (EHT expected 8)");
4423static_assert(offsetof(
esengine::ecs::LightProbeVolume, halfExtents) == 12,
"ABI offset drift: esengine::ecs::LightProbeVolume.halfExtents (EHT expected 12)");
4424static_assert(offsetof(
esengine::ecs::LightProbeVolume, spacing) == 24,
"ABI offset drift: esengine::ecs::LightProbeVolume.spacing (EHT expected 24)");
4425static_assert(offsetof(
esengine::ecs::LightProbeVolume, enabled) == 28,
"ABI offset drift: esengine::ecs::LightProbeVolume.enabled (EHT expected 28)");
4427static_assert(offsetof(
esengine::ecs::MeshCollider3D, friction) == 4,
"ABI offset drift: esengine::ecs::MeshCollider3D.friction (EHT expected 4)");
4428static_assert(offsetof(
esengine::ecs::MeshCollider3D, restitution) == 8,
"ABI offset drift: esengine::ecs::MeshCollider3D.restitution (EHT expected 8)");
4429static_assert(offsetof(
esengine::ecs::MeshCollider3D, layer) == 12,
"ABI offset drift: esengine::ecs::MeshCollider3D.layer (EHT expected 12)");
4430static_assert(offsetof(
esengine::ecs::MeshCollider3D, enabled) == 16,
"ABI offset drift: esengine::ecs::MeshCollider3D.enabled (EHT expected 16)");
4431static_assert(offsetof(
esengine::ecs::MeshInstances, lod1Mesh) == 0,
"ABI offset drift: esengine::ecs::MeshInstances.lod1Mesh (EHT expected 0)");
4432static_assert(offsetof(
esengine::ecs::MeshInstances, lodDistance) == 4,
"ABI offset drift: esengine::ecs::MeshInstances.lodDistance (EHT expected 4)");
4433static_assert(offsetof(
esengine::ecs::MeshInstances, minDistance) == 8,
"ABI offset drift: esengine::ecs::MeshInstances.minDistance (EHT expected 8)");
4434static_assert(offsetof(
esengine::ecs::MeshInstances, drawDistance) == 12,
"ABI offset drift: esengine::ecs::MeshInstances.drawDistance (EHT expected 12)");
4435static_assert(offsetof(
esengine::ecs::MeshInstances, shadowDistance) == 16,
"ABI offset drift: esengine::ecs::MeshInstances.shadowDistance (EHT expected 16)");
4436static_assert(offsetof(
esengine::ecs::MeshLightmap, lightmap) == 0,
"ABI offset drift: esengine::ecs::MeshLightmap.lightmap (EHT expected 0)");
4437static_assert(offsetof(
esengine::ecs::MeshLightmap, scaleOffset) == 4,
"ABI offset drift: esengine::ecs::MeshLightmap.scaleOffset (EHT expected 4)");
4438static_assert(offsetof(
esengine::ecs::MeshRenderer, texture) == 0,
"ABI offset drift: esengine::ecs::MeshRenderer.texture (EHT expected 0)");
4439static_assert(offsetof(
esengine::ecs::MeshRenderer, normalMap) == 4,
"ABI offset drift: esengine::ecs::MeshRenderer.normalMap (EHT expected 4)");
4440static_assert(offsetof(
esengine::ecs::MeshRenderer, color) == 8,
"ABI offset drift: esengine::ecs::MeshRenderer.color (EHT expected 8)");
4441static_assert(offsetof(
esengine::ecs::MeshRenderer, layer) == 24,
"ABI offset drift: esengine::ecs::MeshRenderer.layer (EHT expected 24)");
4442static_assert(offsetof(
esengine::ecs::MeshRenderer, opaque) == 28,
"ABI offset drift: esengine::ecs::MeshRenderer.opaque (EHT expected 28)");
4443static_assert(offsetof(
esengine::ecs::MeshRenderer, cullBackfaces) == 29,
"ABI offset drift: esengine::ecs::MeshRenderer.cullBackfaces (EHT expected 29)");
4444static_assert(offsetof(
esengine::ecs::MeshRenderer, lit) == 30,
"ABI offset drift: esengine::ecs::MeshRenderer.lit (EHT expected 30)");
4445static_assert(offsetof(
esengine::ecs::MeshRenderer, castShadows) == 31,
"ABI offset drift: esengine::ecs::MeshRenderer.castShadows (EHT expected 31)");
4446static_assert(offsetof(
esengine::ecs::MeshRenderer, parallax) == 32,
"ABI offset drift: esengine::ecs::MeshRenderer.parallax (EHT expected 32)");
4447static_assert(offsetof(
esengine::ecs::MeshRenderer, material) == 40,
"ABI offset drift: esengine::ecs::MeshRenderer.material (EHT expected 40)");
4448static_assert(offsetof(
esengine::ecs::MeshRenderer, enabled) == 44,
"ABI offset drift: esengine::ecs::MeshRenderer.enabled (EHT expected 44)");
4449static_assert(offsetof(
esengine::ecs::MeshRenderer, mesh) == 48,
"ABI offset drift: esengine::ecs::MeshRenderer.mesh (EHT expected 48)");
4450static_assert(offsetof(
esengine::ecs::MeshSkin, skinCache) == 12,
"ABI offset drift: esengine::ecs::MeshSkin.skinCache (EHT expected 12)");
4451static_assert(offsetof(
esengine::ecs::Occluder, halfExtents) == 0,
"ABI offset drift: esengine::ecs::Occluder.halfExtents (EHT expected 0)");
4452static_assert(offsetof(
esengine::ecs::Occluder, enabled) == 12,
"ABI offset drift: esengine::ecs::Occluder.enabled (EHT expected 12)");
4455static_assert(offsetof(
esengine::ecs::ParticleCollider, halfHeight) == 8,
"ABI offset drift: esengine::ecs::ParticleCollider.halfHeight (EHT expected 8)");
4456static_assert(offsetof(
esengine::ecs::ParticleCollider, halfExtents) == 12,
"ABI offset drift: esengine::ecs::ParticleCollider.halfExtents (EHT expected 12)");
4457static_assert(offsetof(
esengine::ecs::ParticleCollider, inverted) == 24,
"ABI offset drift: esengine::ecs::ParticleCollider.inverted (EHT expected 24)");
4459static_assert(offsetof(
esengine::ecs::ParticleCollider, enabled) == 32,
"ABI offset drift: esengine::ecs::ParticleCollider.enabled (EHT expected 32)");
4461static_assert(offsetof(
esengine::ecs::ParticleEmitter, burstCount) == 4,
"ABI offset drift: esengine::ecs::ParticleEmitter.burstCount (EHT expected 4)");
4462static_assert(offsetof(
esengine::ecs::ParticleEmitter, burstInterval) == 8,
"ABI offset drift: esengine::ecs::ParticleEmitter.burstInterval (EHT expected 8)");
4463static_assert(offsetof(
esengine::ecs::ParticleEmitter, duration) == 12,
"ABI offset drift: esengine::ecs::ParticleEmitter.duration (EHT expected 12)");
4464static_assert(offsetof(
esengine::ecs::ParticleEmitter, simulationSpeed) == 16,
"ABI offset drift: esengine::ecs::ParticleEmitter.simulationSpeed (EHT expected 16)");
4465static_assert(offsetof(
esengine::ecs::ParticleEmitter, startDelay) == 20,
"ABI offset drift: esengine::ecs::ParticleEmitter.startDelay (EHT expected 20)");
4466static_assert(offsetof(
esengine::ecs::ParticleEmitter, looping) == 24,
"ABI offset drift: esengine::ecs::ParticleEmitter.looping (EHT expected 24)");
4467static_assert(offsetof(
esengine::ecs::ParticleEmitter, playOnStart) == 25,
"ABI offset drift: esengine::ecs::ParticleEmitter.playOnStart (EHT expected 25)");
4468static_assert(offsetof(
esengine::ecs::ParticleEmitter, maxParticles) == 28,
"ABI offset drift: esengine::ecs::ParticleEmitter.maxParticles (EHT expected 28)");
4469static_assert(offsetof(
esengine::ecs::ParticleEmitter, gpuSimulation) == 32,
"ABI offset drift: esengine::ecs::ParticleEmitter.gpuSimulation (EHT expected 32)");
4470static_assert(offsetof(
esengine::ecs::ParticleEmitter, lifetimeMin) == 36,
"ABI offset drift: esengine::ecs::ParticleEmitter.lifetimeMin (EHT expected 36)");
4471static_assert(offsetof(
esengine::ecs::ParticleEmitter, lifetimeMax) == 40,
"ABI offset drift: esengine::ecs::ParticleEmitter.lifetimeMax (EHT expected 40)");
4473static_assert(offsetof(
esengine::ecs::ParticleEmitter, shapeRadius) == 48,
"ABI offset drift: esengine::ecs::ParticleEmitter.shapeRadius (EHT expected 48)");
4474static_assert(offsetof(
esengine::ecs::ParticleEmitter, shapeSize) == 52,
"ABI offset drift: esengine::ecs::ParticleEmitter.shapeSize (EHT expected 52)");
4475static_assert(offsetof(
esengine::ecs::ParticleEmitter, shapeAngle) == 64,
"ABI offset drift: esengine::ecs::ParticleEmitter.shapeAngle (EHT expected 64)");
4476static_assert(offsetof(
esengine::ecs::ParticleEmitter, speedMin) == 68,
"ABI offset drift: esengine::ecs::ParticleEmitter.speedMin (EHT expected 68)");
4477static_assert(offsetof(
esengine::ecs::ParticleEmitter, speedMax) == 72,
"ABI offset drift: esengine::ecs::ParticleEmitter.speedMax (EHT expected 72)");
4478static_assert(offsetof(
esengine::ecs::ParticleEmitter, angleSpreadMin) == 76,
"ABI offset drift: esengine::ecs::ParticleEmitter.angleSpreadMin (EHT expected 76)");
4479static_assert(offsetof(
esengine::ecs::ParticleEmitter, angleSpreadMax) == 80,
"ABI offset drift: esengine::ecs::ParticleEmitter.angleSpreadMax (EHT expected 80)");
4480static_assert(offsetof(
esengine::ecs::ParticleEmitter, startSizeMin) == 84,
"ABI offset drift: esengine::ecs::ParticleEmitter.startSizeMin (EHT expected 84)");
4481static_assert(offsetof(
esengine::ecs::ParticleEmitter, startSizeMax) == 88,
"ABI offset drift: esengine::ecs::ParticleEmitter.startSizeMax (EHT expected 88)");
4482static_assert(offsetof(
esengine::ecs::ParticleEmitter, endSizeMin) == 92,
"ABI offset drift: esengine::ecs::ParticleEmitter.endSizeMin (EHT expected 92)");
4483static_assert(offsetof(
esengine::ecs::ParticleEmitter, endSizeMax) == 96,
"ABI offset drift: esengine::ecs::ParticleEmitter.endSizeMax (EHT expected 96)");
4484static_assert(offsetof(
esengine::ecs::ParticleEmitter, sizeEasing) == 100,
"ABI offset drift: esengine::ecs::ParticleEmitter.sizeEasing (EHT expected 100)");
4485static_assert(offsetof(
esengine::ecs::ParticleEmitter, startColor) == 104,
"ABI offset drift: esengine::ecs::ParticleEmitter.startColor (EHT expected 104)");
4486static_assert(offsetof(
esengine::ecs::ParticleEmitter, endColor) == 120,
"ABI offset drift: esengine::ecs::ParticleEmitter.endColor (EHT expected 120)");
4487static_assert(offsetof(
esengine::ecs::ParticleEmitter, colorEasing) == 136,
"ABI offset drift: esengine::ecs::ParticleEmitter.colorEasing (EHT expected 136)");
4488static_assert(offsetof(
esengine::ecs::ParticleEmitter, rotationMin) == 140,
"ABI offset drift: esengine::ecs::ParticleEmitter.rotationMin (EHT expected 140)");
4489static_assert(offsetof(
esengine::ecs::ParticleEmitter, rotationMax) == 144,
"ABI offset drift: esengine::ecs::ParticleEmitter.rotationMax (EHT expected 144)");
4490static_assert(offsetof(
esengine::ecs::ParticleEmitter, angularVelocityMin) == 148,
"ABI offset drift: esengine::ecs::ParticleEmitter.angularVelocityMin (EHT expected 148)");
4491static_assert(offsetof(
esengine::ecs::ParticleEmitter, angularVelocityMax) == 152,
"ABI offset drift: esengine::ecs::ParticleEmitter.angularVelocityMax (EHT expected 152)");
4492static_assert(offsetof(
esengine::ecs::ParticleEmitter, gravity) == 156,
"ABI offset drift: esengine::ecs::ParticleEmitter.gravity (EHT expected 156)");
4493static_assert(offsetof(
esengine::ecs::ParticleEmitter, damping) == 168,
"ABI offset drift: esengine::ecs::ParticleEmitter.damping (EHT expected 168)");
4494static_assert(offsetof(
esengine::ecs::ParticleEmitter, addedVelocityMin) == 172,
"ABI offset drift: esengine::ecs::ParticleEmitter.addedVelocityMin (EHT expected 172)");
4495static_assert(offsetof(
esengine::ecs::ParticleEmitter, addedVelocityMax) == 184,
"ABI offset drift: esengine::ecs::ParticleEmitter.addedVelocityMax (EHT expected 184)");
4496static_assert(offsetof(
esengine::ecs::ParticleEmitter, speedLimit) == 196,
"ABI offset drift: esengine::ecs::ParticleEmitter.speedLimit (EHT expected 196)");
4497static_assert(offsetof(
esengine::ecs::ParticleEmitter, limitDampen) == 200,
"ABI offset drift: esengine::ecs::ParticleEmitter.limitDampen (EHT expected 200)");
4498static_assert(offsetof(
esengine::ecs::ParticleEmitter, noiseStrength) == 204,
"ABI offset drift: esengine::ecs::ParticleEmitter.noiseStrength (EHT expected 204)");
4499static_assert(offsetof(
esengine::ecs::ParticleEmitter, noiseFrequency) == 208,
"ABI offset drift: esengine::ecs::ParticleEmitter.noiseFrequency (EHT expected 208)");
4500static_assert(offsetof(
esengine::ecs::ParticleEmitter, noiseScrollSpeed) == 212,
"ABI offset drift: esengine::ecs::ParticleEmitter.noiseScrollSpeed (EHT expected 212)");
4501static_assert(offsetof(
esengine::ecs::ParticleEmitter, noiseOctaves) == 216,
"ABI offset drift: esengine::ecs::ParticleEmitter.noiseOctaves (EHT expected 216)");
4502static_assert(offsetof(
esengine::ecs::ParticleEmitter, texture) == 220,
"ABI offset drift: esengine::ecs::ParticleEmitter.texture (EHT expected 220)");
4503static_assert(offsetof(
esengine::ecs::ParticleEmitter, spriteColumns) == 224,
"ABI offset drift: esengine::ecs::ParticleEmitter.spriteColumns (EHT expected 224)");
4504static_assert(offsetof(
esengine::ecs::ParticleEmitter, spriteRows) == 228,
"ABI offset drift: esengine::ecs::ParticleEmitter.spriteRows (EHT expected 228)");
4505static_assert(offsetof(
esengine::ecs::ParticleEmitter, spriteFPS) == 232,
"ABI offset drift: esengine::ecs::ParticleEmitter.spriteFPS (EHT expected 232)");
4506static_assert(offsetof(
esengine::ecs::ParticleEmitter, spriteLoop) == 236,
"ABI offset drift: esengine::ecs::ParticleEmitter.spriteLoop (EHT expected 236)");
4507static_assert(offsetof(
esengine::ecs::ParticleEmitter, blendMode) == 240,
"ABI offset drift: esengine::ecs::ParticleEmitter.blendMode (EHT expected 240)");
4508static_assert(offsetof(
esengine::ecs::ParticleEmitter, layer) == 244,
"ABI offset drift: esengine::ecs::ParticleEmitter.layer (EHT expected 244)");
4509static_assert(offsetof(
esengine::ecs::ParticleEmitter, material) == 248,
"ABI offset drift: esengine::ecs::ParticleEmitter.material (EHT expected 248)");
4510static_assert(offsetof(
esengine::ecs::ParticleEmitter, simulationSpace) == 252,
"ABI offset drift: esengine::ecs::ParticleEmitter.simulationSpace (EHT expected 252)");
4511static_assert(offsetof(
esengine::ecs::ParticleEmitter, renderMode) == 256,
"ABI offset drift: esengine::ecs::ParticleEmitter.renderMode (EHT expected 256)");
4512static_assert(offsetof(
esengine::ecs::ParticleEmitter, velocityScale) == 260,
"ABI offset drift: esengine::ecs::ParticleEmitter.velocityScale (EHT expected 260)");
4513static_assert(offsetof(
esengine::ecs::ParticleEmitter, lengthScale) == 264,
"ABI offset drift: esengine::ecs::ParticleEmitter.lengthScale (EHT expected 264)");
4514static_assert(offsetof(
esengine::ecs::ParticleEmitter, intensity) == 268,
"ABI offset drift: esengine::ecs::ParticleEmitter.intensity (EHT expected 268)");
4515static_assert(offsetof(
esengine::ecs::ParticleEmitter, enabled) == 272,
"ABI offset drift: esengine::ecs::ParticleEmitter.enabled (EHT expected 272)");
4516static_assert(offsetof(
esengine::ecs::ParticleEmitter, subEmitterTrigger) == 276,
"ABI offset drift: esengine::ecs::ParticleEmitter.subEmitterTrigger (EHT expected 276)");
4517static_assert(offsetof(
esengine::ecs::ParticleEmitter, subEmitterChance) == 280,
"ABI offset drift: esengine::ecs::ParticleEmitter.subEmitterChance (EHT expected 280)");
4518static_assert(offsetof(
esengine::ecs::ParticleEmitter, subEmitterInheritVelocity) == 284,
"ABI offset drift: esengine::ecs::ParticleEmitter.subEmitterInheritVelocity (EHT expected 284)");
4519static_assert(offsetof(
esengine::ecs::ParticleEmitter, subEmitter) == 288,
"ABI offset drift: esengine::ecs::ParticleEmitter.subEmitter (EHT expected 288)");
4520static_assert(offsetof(
esengine::ecs::ParticleEmitter, trailEnabled) == 292,
"ABI offset drift: esengine::ecs::ParticleEmitter.trailEnabled (EHT expected 292)");
4521static_assert(offsetof(
esengine::ecs::ParticleEmitter, trailWidth) == 296,
"ABI offset drift: esengine::ecs::ParticleEmitter.trailWidth (EHT expected 296)");
4522static_assert(offsetof(
esengine::ecs::ParticleEmitter, trailPoints) == 300,
"ABI offset drift: esengine::ecs::ParticleEmitter.trailPoints (EHT expected 300)");
4523static_assert(offsetof(
esengine::ecs::ParticleEmitter, trailMinDistance) == 304,
"ABI offset drift: esengine::ecs::ParticleEmitter.trailMinDistance (EHT expected 304)");
4524static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionEnabled) == 308,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionEnabled (EHT expected 308)");
4525static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionFloor) == 312,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionFloor (EHT expected 312)");
4526static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionMode) == 316,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionMode (EHT expected 316)");
4527static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionMask) == 320,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionMask (EHT expected 320)");
4528static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionQueryBudget) == 324,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionQueryBudget (EHT expected 324)");
4529static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionMaxDistance) == 328,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionMaxDistance (EHT expected 328)");
4530static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionFallback) == 332,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionFallback (EHT expected 332)");
4531static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionEvents) == 336,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionEvents (EHT expected 336)");
4532static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionEventBudget) == 340,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionEventBudget (EHT expected 340)");
4533static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionThickness) == 344,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionThickness (EHT expected 344)");
4534static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionBounce) == 348,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionBounce (EHT expected 348)");
4535static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionFriction) == 352,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionFriction (EHT expected 352)");
4536static_assert(offsetof(
esengine::ecs::ParticleEmitter, collisionLifetimeLoss) == 356,
"ABI offset drift: esengine::ecs::ParticleEmitter.collisionLifetimeLoss (EHT expected 356)");
4544static_assert(offsetof(
esengine::ecs::PlanarReflection, clipOffset) == 4,
"ABI offset drift: esengine::ecs::PlanarReflection.clipOffset (EHT expected 4)");
4545static_assert(offsetof(
esengine::ecs::PlanarReflection, cullingMask) == 8,
"ABI offset drift: esengine::ecs::PlanarReflection.cullingMask (EHT expected 8)");
4546static_assert(offsetof(
esengine::ecs::PlanarReflection, quality) == 12,
"ABI offset drift: esengine::ecs::PlanarReflection.quality (EHT expected 12)");
4547static_assert(offsetof(
esengine::ecs::PlanarReflection, resolutionScale) == 16,
"ABI offset drift: esengine::ecs::PlanarReflection.resolutionScale (EHT expected 16)");
4548static_assert(offsetof(
esengine::ecs::PlanarReflection, maxSize) == 20,
"ABI offset drift: esengine::ecs::PlanarReflection.maxSize (EHT expected 20)");
4550static_assert(offsetof(
esengine::ecs::PlanarReflection, updatesPerSecond) == 28,
"ABI offset drift: esengine::ecs::PlanarReflection.updatesPerSecond (EHT expected 28)");
4551static_assert(offsetof(
esengine::ecs::PlanarReflection, revision) == 32,
"ABI offset drift: esengine::ecs::PlanarReflection.revision (EHT expected 32)");
4552static_assert(offsetof(
esengine::ecs::PlanarReflection, enabled) == 36,
"ABI offset drift: esengine::ecs::PlanarReflection.enabled (EHT expected 36)");
4553static_assert(offsetof(
esengine::ecs::ReflectionProbe, reflection) == 0,
"ABI offset drift: esengine::ecs::ReflectionProbe.reflection (EHT expected 0)");
4554static_assert(offsetof(
esengine::ecs::ReflectionProbe, halfExtents) == 4,
"ABI offset drift: esengine::ecs::ReflectionProbe.halfExtents (EHT expected 4)");
4556static_assert(offsetof(
esengine::ecs::ReflectionProbe, enabled) == 20,
"ABI offset drift: esengine::ecs::ReflectionProbe.enabled (EHT expected 20)");
4557static_assert(offsetof(
esengine::ecs::RigidBody2D, bodyType) == 0,
"ABI offset drift: esengine::ecs::RigidBody2D.bodyType (EHT expected 0)");
4558static_assert(offsetof(
esengine::ecs::RigidBody2D, gravityScale) == 4,
"ABI offset drift: esengine::ecs::RigidBody2D.gravityScale (EHT expected 4)");
4559static_assert(offsetof(
esengine::ecs::RigidBody2D, linearDamping) == 8,
"ABI offset drift: esengine::ecs::RigidBody2D.linearDamping (EHT expected 8)");
4560static_assert(offsetof(
esengine::ecs::RigidBody2D, angularDamping) == 12,
"ABI offset drift: esengine::ecs::RigidBody2D.angularDamping (EHT expected 12)");
4561static_assert(offsetof(
esengine::ecs::RigidBody2D, fixedRotation) == 16,
"ABI offset drift: esengine::ecs::RigidBody2D.fixedRotation (EHT expected 16)");
4562static_assert(offsetof(
esengine::ecs::RigidBody2D, bullet) == 17,
"ABI offset drift: esengine::ecs::RigidBody2D.bullet (EHT expected 17)");
4563static_assert(offsetof(
esengine::ecs::RigidBody2D, enabled) == 18,
"ABI offset drift: esengine::ecs::RigidBody2D.enabled (EHT expected 18)");
4564static_assert(offsetof(
esengine::ecs::RigidBody3D, bodyType) == 0,
"ABI offset drift: esengine::ecs::RigidBody3D.bodyType (EHT expected 0)");
4565static_assert(offsetof(
esengine::ecs::RigidBody3D, gravityScale) == 4,
"ABI offset drift: esengine::ecs::RigidBody3D.gravityScale (EHT expected 4)");
4566static_assert(offsetof(
esengine::ecs::RigidBody3D, linearDamping) == 8,
"ABI offset drift: esengine::ecs::RigidBody3D.linearDamping (EHT expected 8)");
4567static_assert(offsetof(
esengine::ecs::RigidBody3D, angularDamping) == 12,
"ABI offset drift: esengine::ecs::RigidBody3D.angularDamping (EHT expected 12)");
4568static_assert(offsetof(
esengine::ecs::RigidBody3D, mass) == 16,
"ABI offset drift: esengine::ecs::RigidBody3D.mass (EHT expected 16)");
4569static_assert(offsetof(
esengine::ecs::RigidBody3D, fixedRotation) == 20,
"ABI offset drift: esengine::ecs::RigidBody3D.fixedRotation (EHT expected 20)");
4570static_assert(offsetof(
esengine::ecs::RigidBody3D, layer) == 24,
"ABI offset drift: esengine::ecs::RigidBody3D.layer (EHT expected 24)");
4571static_assert(offsetof(
esengine::ecs::RigidBody3D, continuousCollision) == 28,
"ABI offset drift: esengine::ecs::RigidBody3D.continuousCollision (EHT expected 28)");
4572static_assert(offsetof(
esengine::ecs::RigidBody3D, enabled) == 29,
"ABI offset drift: esengine::ecs::RigidBody3D.enabled (EHT expected 29)");
4577static_assert(offsetof(
esengine::ecs::SegmentCollider2D, restitution) == 24,
"ABI offset drift: esengine::ecs::SegmentCollider2D.restitution (EHT expected 24)");
4580static_assert(offsetof(
esengine::ecs::SegmentCollider2D, categoryBits) == 32,
"ABI offset drift: esengine::ecs::SegmentCollider2D.categoryBits (EHT expected 32)");
4583static_assert(offsetof(
esengine::ecs::ShadowCaster2D, enabled) == 20,
"ABI offset drift: esengine::ecs::ShadowCaster2D.enabled (EHT expected 20)");
4584static_assert(offsetof(
esengine::ecs::ShapeRenderer, shapeType) == 0,
"ABI offset drift: esengine::ecs::ShapeRenderer.shapeType (EHT expected 0)");
4585static_assert(offsetof(
esengine::ecs::ShapeRenderer, color) == 4,
"ABI offset drift: esengine::ecs::ShapeRenderer.color (EHT expected 4)");
4586static_assert(offsetof(
esengine::ecs::ShapeRenderer, size) == 20,
"ABI offset drift: esengine::ecs::ShapeRenderer.size (EHT expected 20)");
4587static_assert(offsetof(
esengine::ecs::ShapeRenderer, cornerRadius) == 28,
"ABI offset drift: esengine::ecs::ShapeRenderer.cornerRadius (EHT expected 28)");
4588static_assert(offsetof(
esengine::ecs::ShapeRenderer, layer) == 32,
"ABI offset drift: esengine::ecs::ShapeRenderer.layer (EHT expected 32)");
4589static_assert(offsetof(
esengine::ecs::ShapeRenderer, parallax) == 36,
"ABI offset drift: esengine::ecs::ShapeRenderer.parallax (EHT expected 36)");
4590static_assert(offsetof(
esengine::ecs::ShapeRenderer, enabled) == 44,
"ABI offset drift: esengine::ecs::ShapeRenderer.enabled (EHT expected 44)");
4591static_assert(offsetof(
esengine::ecs::SortingGroup, layer) == 0,
"ABI offset drift: esengine::ecs::SortingGroup.layer (EHT expected 0)");
4592static_assert(offsetof(
esengine::ecs::SortingGroup, order) == 4,
"ABI offset drift: esengine::ecs::SortingGroup.order (EHT expected 4)");
4593static_assert(offsetof(
esengine::ecs::SortingGroup, enabled) == 8,
"ABI offset drift: esengine::ecs::SortingGroup.enabled (EHT expected 8)");
4596static_assert(offsetof(
esengine::ecs::SphereCollider3D, friction) == 16,
"ABI offset drift: esengine::ecs::SphereCollider3D.friction (EHT expected 16)");
4597static_assert(offsetof(
esengine::ecs::SphereCollider3D, restitution) == 20,
"ABI offset drift: esengine::ecs::SphereCollider3D.restitution (EHT expected 20)");
4598static_assert(offsetof(
esengine::ecs::SphereCollider3D, isSensor) == 24,
"ABI offset drift: esengine::ecs::SphereCollider3D.isSensor (EHT expected 24)");
4599static_assert(offsetof(
esengine::ecs::SphereCollider3D, enabled) == 25,
"ABI offset drift: esengine::ecs::SphereCollider3D.enabled (EHT expected 25)");
4600static_assert(offsetof(
esengine::ecs::SpineAnimation, timeScale) == 48,
"ABI offset drift: esengine::ecs::SpineAnimation.timeScale (EHT expected 48)");
4601static_assert(offsetof(
esengine::ecs::SpineAnimation, loop) == 52,
"ABI offset drift: esengine::ecs::SpineAnimation.loop (EHT expected 52)");
4602static_assert(offsetof(
esengine::ecs::SpineAnimation, playing) == 53,
"ABI offset drift: esengine::ecs::SpineAnimation.playing (EHT expected 53)");
4603static_assert(offsetof(
esengine::ecs::SpineAnimation, flipX) == 54,
"ABI offset drift: esengine::ecs::SpineAnimation.flipX (EHT expected 54)");
4604static_assert(offsetof(
esengine::ecs::SpineAnimation, flipY) == 55,
"ABI offset drift: esengine::ecs::SpineAnimation.flipY (EHT expected 55)");
4605static_assert(offsetof(
esengine::ecs::SpineAnimation, color) == 56,
"ABI offset drift: esengine::ecs::SpineAnimation.color (EHT expected 56)");
4606static_assert(offsetof(
esengine::ecs::SpineAnimation, layer) == 72,
"ABI offset drift: esengine::ecs::SpineAnimation.layer (EHT expected 72)");
4607static_assert(offsetof(
esengine::ecs::SpineAnimation, skeletonScale) == 76,
"ABI offset drift: esengine::ecs::SpineAnimation.skeletonScale (EHT expected 76)");
4608static_assert(offsetof(
esengine::ecs::SpineAnimation, material) == 80,
"ABI offset drift: esengine::ecs::SpineAnimation.material (EHT expected 80)");
4609static_assert(offsetof(
esengine::ecs::SpineAnimation, enabled) == 84,
"ABI offset drift: esengine::ecs::SpineAnimation.enabled (EHT expected 84)");
4610static_assert(offsetof(
esengine::ecs::SpringBone, enabled) == 0,
"ABI offset drift: esengine::ecs::SpringBone.enabled (EHT expected 0)");
4611static_assert(offsetof(
esengine::ecs::SpringBone, stiffness) == 4,
"ABI offset drift: esengine::ecs::SpringBone.stiffness (EHT expected 4)");
4612static_assert(offsetof(
esengine::ecs::SpringBone, drag) == 8,
"ABI offset drift: esengine::ecs::SpringBone.drag (EHT expected 8)");
4613static_assert(offsetof(
esengine::ecs::SpringBone, gravity) == 12,
"ABI offset drift: esengine::ecs::SpringBone.gravity (EHT expected 12)");
4614static_assert(offsetof(
esengine::ecs::SpringBone, wind) == 24,
"ABI offset drift: esengine::ecs::SpringBone.wind (EHT expected 24)");
4615static_assert(offsetof(
esengine::ecs::SpringBone, windGust) == 36,
"ABI offset drift: esengine::ecs::SpringBone.windGust (EHT expected 36)");
4616static_assert(offsetof(
esengine::ecs::SpringBone, windFrequency) == 40,
"ABI offset drift: esengine::ecs::SpringBone.windFrequency (EHT expected 40)");
4617static_assert(offsetof(
esengine::ecs::SpringBone, endLength) == 44,
"ABI offset drift: esengine::ecs::SpringBone.endLength (EHT expected 44)");
4618static_assert(offsetof(
esengine::ecs::SpringBone, radius) == 48,
"ABI offset drift: esengine::ecs::SpringBone.radius (EHT expected 48)");
4619static_assert(offsetof(
esengine::ecs::SpringBone, weight) == 52,
"ABI offset drift: esengine::ecs::SpringBone.weight (EHT expected 52)");
4624static_assert(offsetof(
esengine::ecs::Sprite, texture) == 0,
"ABI offset drift: esengine::ecs::Sprite.texture (EHT expected 0)");
4625static_assert(offsetof(
esengine::ecs::Sprite, color) == 4,
"ABI offset drift: esengine::ecs::Sprite.color (EHT expected 4)");
4626static_assert(offsetof(
esengine::ecs::Sprite, size) == 20,
"ABI offset drift: esengine::ecs::Sprite.size (EHT expected 20)");
4627static_assert(offsetof(
esengine::ecs::Sprite, pivot) == 28,
"ABI offset drift: esengine::ecs::Sprite.pivot (EHT expected 28)");
4628static_assert(offsetof(
esengine::ecs::Sprite, uvOffset) == 36,
"ABI offset drift: esengine::ecs::Sprite.uvOffset (EHT expected 36)");
4629static_assert(offsetof(
esengine::ecs::Sprite, uvScale) == 44,
"ABI offset drift: esengine::ecs::Sprite.uvScale (EHT expected 44)");
4630static_assert(offsetof(
esengine::ecs::Sprite, layer) == 52,
"ABI offset drift: esengine::ecs::Sprite.layer (EHT expected 52)");
4631static_assert(offsetof(
esengine::ecs::Sprite, order) == 56,
"ABI offset drift: esengine::ecs::Sprite.order (EHT expected 56)");
4632static_assert(offsetof(
esengine::ecs::Sprite, maskInteraction) == 60,
"ABI offset drift: esengine::ecs::Sprite.maskInteraction (EHT expected 60)");
4633static_assert(offsetof(
esengine::ecs::Sprite, lit) == 64,
"ABI offset drift: esengine::ecs::Sprite.lit (EHT expected 64)");
4634static_assert(offsetof(
esengine::ecs::Sprite, flipX) == 65,
"ABI offset drift: esengine::ecs::Sprite.flipX (EHT expected 65)");
4635static_assert(offsetof(
esengine::ecs::Sprite, flipY) == 66,
"ABI offset drift: esengine::ecs::Sprite.flipY (EHT expected 66)");
4636static_assert(offsetof(
esengine::ecs::Sprite, drawMode) == 67,
"ABI offset drift: esengine::ecs::Sprite.drawMode (EHT expected 67)");
4637static_assert(offsetof(
esengine::ecs::Sprite, tileSize) == 68,
"ABI offset drift: esengine::ecs::Sprite.tileSize (EHT expected 68)");
4638static_assert(offsetof(
esengine::ecs::Sprite, tileSpacing) == 76,
"ABI offset drift: esengine::ecs::Sprite.tileSpacing (EHT expected 76)");
4639static_assert(offsetof(
esengine::ecs::Sprite, parallax) == 84,
"ABI offset drift: esengine::ecs::Sprite.parallax (EHT expected 84)");
4640static_assert(offsetof(
esengine::ecs::Sprite, material) == 92,
"ABI offset drift: esengine::ecs::Sprite.material (EHT expected 92)");
4641static_assert(offsetof(
esengine::ecs::Sprite, enabled) == 96,
"ABI offset drift: esengine::ecs::Sprite.enabled (EHT expected 96)");
4642static_assert(offsetof(
esengine::ecs::SpriteMask, alphaCutoff) == 0,
"ABI offset drift: esengine::ecs::SpriteMask.alphaCutoff (EHT expected 0)");
4643static_assert(offsetof(
esengine::ecs::SpriteMask, limitRange) == 4,
"ABI offset drift: esengine::ecs::SpriteMask.limitRange (EHT expected 4)");
4644static_assert(offsetof(
esengine::ecs::SpriteMask, rangeEndLayer) == 8,
"ABI offset drift: esengine::ecs::SpriteMask.rangeEndLayer (EHT expected 8)");
4645static_assert(offsetof(
esengine::ecs::SpriteMask, rangeEndOrder) == 12,
"ABI offset drift: esengine::ecs::SpriteMask.rangeEndOrder (EHT expected 12)");
4646static_assert(offsetof(
esengine::ecs::SpriteMask, enabled) == 16,
"ABI offset drift: esengine::ecs::SpriteMask.enabled (EHT expected 16)");
4647static_assert(offsetof(
esengine::ecs::TilemapLayer, cellSize) == 0,
"ABI offset drift: esengine::ecs::TilemapLayer.cellSize (EHT expected 0)");
4648static_assert(offsetof(
esengine::ecs::TilemapLayer, orientation) == 8,
"ABI offset drift: esengine::ecs::TilemapLayer.orientation (EHT expected 8)");
4649static_assert(offsetof(
esengine::ecs::TilemapLayer, hexSideLength) == 12,
"ABI offset drift: esengine::ecs::TilemapLayer.hexSideLength (EHT expected 12)");
4650static_assert(offsetof(
esengine::ecs::TilemapLayer, staggerAxis) == 16,
"ABI offset drift: esengine::ecs::TilemapLayer.staggerAxis (EHT expected 16)");
4651static_assert(offsetof(
esengine::ecs::TilemapLayer, staggerIndex) == 17,
"ABI offset drift: esengine::ecs::TilemapLayer.staggerIndex (EHT expected 17)");
4652static_assert(offsetof(
esengine::ecs::TilemapLayer, originOffset) == 20,
"ABI offset drift: esengine::ecs::TilemapLayer.originOffset (EHT expected 20)");
4653static_assert(offsetof(
esengine::ecs::TilemapLayer, tileset) == 28,
"ABI offset drift: esengine::ecs::TilemapLayer.tileset (EHT expected 28)");
4654static_assert(offsetof(
esengine::ecs::TilemapLayer, tilesetColumns) == 32,
"ABI offset drift: esengine::ecs::TilemapLayer.tilesetColumns (EHT expected 32)");
4655static_assert(offsetof(
esengine::ecs::TilemapLayer, renderLayer) == 36,
"ABI offset drift: esengine::ecs::TilemapLayer.renderLayer (EHT expected 36)");
4656static_assert(offsetof(
esengine::ecs::TilemapLayer, tintColor) == 40,
"ABI offset drift: esengine::ecs::TilemapLayer.tintColor (EHT expected 40)");
4657static_assert(offsetof(
esengine::ecs::TilemapLayer, opacity) == 56,
"ABI offset drift: esengine::ecs::TilemapLayer.opacity (EHT expected 56)");
4658static_assert(offsetof(
esengine::ecs::TilemapLayer, parallaxFactor) == 60,
"ABI offset drift: esengine::ecs::TilemapLayer.parallaxFactor (EHT expected 60)");
4659static_assert(offsetof(
esengine::ecs::TilemapLayer, visible) == 68,
"ABI offset drift: esengine::ecs::TilemapLayer.visible (EHT expected 68)");
4660static_assert(offsetof(
esengine::ecs::TilemapLayer, lit) == 69,
"ABI offset drift: esengine::ecs::TilemapLayer.lit (EHT expected 69)");
4661static_assert(offsetof(
esengine::ecs::TrailRenderer, time) == 0,
"ABI offset drift: esengine::ecs::TrailRenderer.time (EHT expected 0)");
4662static_assert(offsetof(
esengine::ecs::TrailRenderer, minVertexDistance) == 4,
"ABI offset drift: esengine::ecs::TrailRenderer.minVertexDistance (EHT expected 4)");
4663static_assert(offsetof(
esengine::ecs::TrailRenderer, emitting) == 8,
"ABI offset drift: esengine::ecs::TrailRenderer.emitting (EHT expected 8)");
4664static_assert(offsetof(
esengine::ecs::TrailRenderer, startWidth) == 12,
"ABI offset drift: esengine::ecs::TrailRenderer.startWidth (EHT expected 12)");
4665static_assert(offsetof(
esengine::ecs::TrailRenderer, endWidth) == 16,
"ABI offset drift: esengine::ecs::TrailRenderer.endWidth (EHT expected 16)");
4666static_assert(offsetof(
esengine::ecs::TrailRenderer, startColor) == 20,
"ABI offset drift: esengine::ecs::TrailRenderer.startColor (EHT expected 20)");
4667static_assert(offsetof(
esengine::ecs::TrailRenderer, endColor) == 36,
"ABI offset drift: esengine::ecs::TrailRenderer.endColor (EHT expected 36)");
4668static_assert(offsetof(
esengine::ecs::TrailRenderer, texture) == 52,
"ABI offset drift: esengine::ecs::TrailRenderer.texture (EHT expected 52)");
4669static_assert(offsetof(
esengine::ecs::TrailRenderer, blendMode) == 56,
"ABI offset drift: esengine::ecs::TrailRenderer.blendMode (EHT expected 56)");
4670static_assert(offsetof(
esengine::ecs::TrailRenderer, layer) == 60,
"ABI offset drift: esengine::ecs::TrailRenderer.layer (EHT expected 60)");
4671static_assert(offsetof(
esengine::ecs::TrailRenderer, material) == 64,
"ABI offset drift: esengine::ecs::TrailRenderer.material (EHT expected 64)");
4672static_assert(offsetof(
esengine::ecs::TrailRenderer, enabled) == 68,
"ABI offset drift: esengine::ecs::TrailRenderer.enabled (EHT expected 68)");
4673static_assert(offsetof(
esengine::ecs::Transform, position) == 0,
"ABI offset drift: esengine::ecs::Transform.position (EHT expected 0)");
4674static_assert(offsetof(
esengine::ecs::Transform, rotation) == 12,
"ABI offset drift: esengine::ecs::Transform.rotation (EHT expected 12)");
4675static_assert(offsetof(
esengine::ecs::Transform, scale) == 28,
"ABI offset drift: esengine::ecs::Transform.scale (EHT expected 28)");
4676static_assert(offsetof(
esengine::ecs::Transform, worldPosition) == 40,
"ABI offset drift: esengine::ecs::Transform.worldPosition (EHT expected 40)");
4677static_assert(offsetof(
esengine::ecs::Transform, worldRotation) == 52,
"ABI offset drift: esengine::ecs::Transform.worldRotation (EHT expected 52)");
4678static_assert(offsetof(
esengine::ecs::Transform, worldScale) == 68,
"ABI offset drift: esengine::ecs::Transform.worldScale (EHT expected 68)");
4679static_assert(offsetof(
esengine::ecs::UIInteraction, hovered) == 0,
"ABI offset drift: esengine::ecs::UIInteraction.hovered (EHT expected 0)");
4680static_assert(offsetof(
esengine::ecs::UIInteraction, pressed) == 1,
"ABI offset drift: esengine::ecs::UIInteraction.pressed (EHT expected 1)");
4681static_assert(offsetof(
esengine::ecs::UIInteraction, justPressed) == 2,
"ABI offset drift: esengine::ecs::UIInteraction.justPressed (EHT expected 2)");
4682static_assert(offsetof(
esengine::ecs::UIInteraction, justReleased) == 3,
"ABI offset drift: esengine::ecs::UIInteraction.justReleased (EHT expected 3)");
4683static_assert(offsetof(
esengine::ecs::UIMask, enabled) == 0,
"ABI offset drift: esengine::ecs::UIMask.enabled (EHT expected 0)");
4684static_assert(offsetof(
esengine::ecs::UIMask, mode) == 1,
"ABI offset drift: esengine::ecs::UIMask.mode (EHT expected 1)");
4685static_assert(offsetof(
esengine::ecs::UIMask, alphaCutoff) == 4,
"ABI offset drift: esengine::ecs::UIMask.alphaCutoff (EHT expected 4)");
4686static_assert(offsetof(
esengine::ecs::UINode, position) == 0,
"ABI offset drift: esengine::ecs::UINode.position (EHT expected 0)");
4687static_assert(offsetof(
esengine::ecs::UINode, display) == 1,
"ABI offset drift: esengine::ecs::UINode.display (EHT expected 1)");
4688static_assert(offsetof(
esengine::ecs::UINode, opacity) == 4,
"ABI offset drift: esengine::ecs::UINode.opacity (EHT expected 4)");
4689static_assert(offsetof(
esengine::ecs::UINode, pointerEvents) == 8,
"ABI offset drift: esengine::ecs::UINode.pointerEvents (EHT expected 8)");
4690static_assert(offsetof(
esengine::ecs::UINode, width) == 12,
"ABI offset drift: esengine::ecs::UINode.width (EHT expected 12)");
4691static_assert(offsetof(
esengine::ecs::UINode, height) == 20,
"ABI offset drift: esengine::ecs::UINode.height (EHT expected 20)");
4692static_assert(offsetof(
esengine::ecs::UINode, minWidth) == 28,
"ABI offset drift: esengine::ecs::UINode.minWidth (EHT expected 28)");
4693static_assert(offsetof(
esengine::ecs::UINode, minHeight) == 36,
"ABI offset drift: esengine::ecs::UINode.minHeight (EHT expected 36)");
4694static_assert(offsetof(
esengine::ecs::UINode, maxWidth) == 44,
"ABI offset drift: esengine::ecs::UINode.maxWidth (EHT expected 44)");
4695static_assert(offsetof(
esengine::ecs::UINode, maxHeight) == 52,
"ABI offset drift: esengine::ecs::UINode.maxHeight (EHT expected 52)");
4696static_assert(offsetof(
esengine::ecs::UINode, flexGrow) == 60,
"ABI offset drift: esengine::ecs::UINode.flexGrow (EHT expected 60)");
4697static_assert(offsetof(
esengine::ecs::UINode, flexShrink) == 64,
"ABI offset drift: esengine::ecs::UINode.flexShrink (EHT expected 64)");
4698static_assert(offsetof(
esengine::ecs::UINode, flexBasis) == 68,
"ABI offset drift: esengine::ecs::UINode.flexBasis (EHT expected 68)");
4699static_assert(offsetof(
esengine::ecs::UINode, alignSelf) == 76,
"ABI offset drift: esengine::ecs::UINode.alignSelf (EHT expected 76)");
4700static_assert(offsetof(
esengine::ecs::UINode, marginLeft) == 80,
"ABI offset drift: esengine::ecs::UINode.marginLeft (EHT expected 80)");
4701static_assert(offsetof(
esengine::ecs::UINode, marginTop) == 88,
"ABI offset drift: esengine::ecs::UINode.marginTop (EHT expected 88)");
4702static_assert(offsetof(
esengine::ecs::UINode, marginRight) == 96,
"ABI offset drift: esengine::ecs::UINode.marginRight (EHT expected 96)");
4703static_assert(offsetof(
esengine::ecs::UINode, marginBottom) == 104,
"ABI offset drift: esengine::ecs::UINode.marginBottom (EHT expected 104)");
4704static_assert(offsetof(
esengine::ecs::UINode, insetLeft) == 112,
"ABI offset drift: esengine::ecs::UINode.insetLeft (EHT expected 112)");
4705static_assert(offsetof(
esengine::ecs::UINode, insetTop) == 120,
"ABI offset drift: esengine::ecs::UINode.insetTop (EHT expected 120)");
4706static_assert(offsetof(
esengine::ecs::UINode, insetRight) == 128,
"ABI offset drift: esengine::ecs::UINode.insetRight (EHT expected 128)");
4707static_assert(offsetof(
esengine::ecs::UINode, insetBottom) == 136,
"ABI offset drift: esengine::ecs::UINode.insetBottom (EHT expected 136)");
4708static_assert(offsetof(
esengine::ecs::UIScroll, enabled) == 0,
"ABI offset drift: esengine::ecs::UIScroll.enabled (EHT expected 0)");
4709static_assert(offsetof(
esengine::ecs::UIScroll, content) == 4,
"ABI offset drift: esengine::ecs::UIScroll.content (EHT expected 4)");
4710static_assert(offsetof(
esengine::ecs::UIScroll, horizontal) == 8,
"ABI offset drift: esengine::ecs::UIScroll.horizontal (EHT expected 8)");
4711static_assert(offsetof(
esengine::ecs::UIScroll, vertical) == 9,
"ABI offset drift: esengine::ecs::UIScroll.vertical (EHT expected 9)");
4712static_assert(offsetof(
esengine::ecs::UIScroll, movement) == 10,
"ABI offset drift: esengine::ecs::UIScroll.movement (EHT expected 10)");
4713static_assert(offsetof(
esengine::ecs::UIScroll, wheelSpeed) == 12,
"ABI offset drift: esengine::ecs::UIScroll.wheelSpeed (EHT expected 12)");
4714static_assert(offsetof(
esengine::ecs::UIScroll, dragScroll) == 16,
"ABI offset drift: esengine::ecs::UIScroll.dragScroll (EHT expected 16)");
4715static_assert(offsetof(
esengine::ecs::UIScroll, decelerationRate) == 20,
"ABI offset drift: esengine::ecs::UIScroll.decelerationRate (EHT expected 20)");
4716static_assert(offsetof(
esengine::ecs::UIVisual, visualType) == 0,
"ABI offset drift: esengine::ecs::UIVisual.visualType (EHT expected 0)");
4717static_assert(offsetof(
esengine::ecs::UIVisual, texture) == 4,
"ABI offset drift: esengine::ecs::UIVisual.texture (EHT expected 4)");
4718static_assert(offsetof(
esengine::ecs::UIVisual, color) == 8,
"ABI offset drift: esengine::ecs::UIVisual.color (EHT expected 8)");
4719static_assert(offsetof(
esengine::ecs::UIVisual, fit) == 24,
"ABI offset drift: esengine::ecs::UIVisual.fit (EHT expected 24)");
4720static_assert(offsetof(
esengine::ecs::UIVisual, uvOffset) == 28,
"ABI offset drift: esengine::ecs::UIVisual.uvOffset (EHT expected 28)");
4721static_assert(offsetof(
esengine::ecs::UIVisual, uvScale) == 36,
"ABI offset drift: esengine::ecs::UIVisual.uvScale (EHT expected 36)");
4722static_assert(offsetof(
esengine::ecs::UIVisual, sliceBorder) == 44,
"ABI offset drift: esengine::ecs::UIVisual.sliceBorder (EHT expected 44)");
4723static_assert(offsetof(
esengine::ecs::UIVisual, tileSize) == 60,
"ABI offset drift: esengine::ecs::UIVisual.tileSize (EHT expected 60)");
4724static_assert(offsetof(
esengine::ecs::UIVisual, fillMethod) == 68,
"ABI offset drift: esengine::ecs::UIVisual.fillMethod (EHT expected 68)");
4725static_assert(offsetof(
esengine::ecs::UIVisual, fillOrigin) == 69,
"ABI offset drift: esengine::ecs::UIVisual.fillOrigin (EHT expected 69)");
4726static_assert(offsetof(
esengine::ecs::UIVisual, fillAmount) == 72,
"ABI offset drift: esengine::ecs::UIVisual.fillAmount (EHT expected 72)");
4727static_assert(offsetof(
esengine::ecs::UIVisual, material) == 76,
"ABI offset drift: esengine::ecs::UIVisual.material (EHT expected 76)");
4728static_assert(offsetof(
esengine::ecs::UIVisual, enabled) == 80,
"ABI offset drift: esengine::ecs::UIVisual.enabled (EHT expected 80)");
4729static_assert(offsetof(
esengine::ecs::Velocity, linear) == 0,
"ABI offset drift: esengine::ecs::Velocity.linear (EHT expected 0)");
4730static_assert(offsetof(
esengine::ecs::Velocity, angular) == 12,
"ABI offset drift: esengine::ecs::Velocity.angular (EHT expected 12)");
A mesh that turns to whoever looks at it.
How a solver is allowed to move a body — the one answer both worlds give.
Camera component for rendering viewpoints.
Canvas component for 2D game resolution management.
The shapes that give a flat body its extent.
The rectangle a piece of world content occupies: a size, and the point of it the entity's transform s...
Pointer-drag configuration.
A DragonBones armature on an entity.
Hierarchy components for parent-child relationships.
A picture of a mesh, taken from many directions, drawn in its place once it is small.
The cheaper geometry that may stand in for a MeshRenderer once it is small.
2D light source component for the Lit material domain.
Math utilities and GLM configuration for ESEngine.
Arbitrary-geometry 2D mesh renderable (deformed sprites, polygons, water surfaces,...
A box sight does not pass through, so what stands behind it is not drawn. ShadowCaster2D answers wher...
A shape particles bounce off without any physics: a signed distance a compute kernel can answer per p...
A scene-placed force zone that pushes every world-space particle near it.
What a shiny surface standing HERE reflects, when the sky is not it. LightProbeVolume answers the sam...
Central ECS registry for entity and component management.
A body the flat world simulates.
A body the 3D world simulates, and the shapes that give it extent.
Marks an entity as a 2D shadow occluder for the Lit lighting path.
Makes a subtree sort as ONE unit against the rest of the scene.
Spine skeletal animation component.
Secondary motion for a chain of bones: hair, tails, cords, cloth edges.
Turns this entity's Sprite into a stencil the sprites drawn after it can be cut by.
2D sprite rendering component
Tilemap layer ECS component (editor-facing metadata).
World-space motion trail renderable (sword swipes, projectile/dash streaks, ribbon effects).
Velocity component for physics simulation.
void meshlightmapApplyJS(esengine::ecs::MeshLightmap &c, const MeshLightmapJS &js)
esengine::ecs::SpringBone springboneFromJS(const SpringBoneJS &js)
CameraJS cameraToJS(const esengine::ecs::Camera &c)
SpringBoneColliderJS springbonecolliderToJS(const esengine::ecs::SpringBoneCollider &c)
UIMaskJS uimaskToJS(const esengine::ecs::UIMask &c)
ParticleEmitterJS particleemitterToJS(const esengine::ecs::ParticleEmitter &c)
esengine::ecs::UIScroll uiscrollFromJS(const UIScrollJS &js)
ConvexCollider3DJS convexcollider3dToJS(const esengine::ecs::ConvexCollider3D &c)
esengine::ecs::UINode uinodeFromJS(const UINodeJS &js)
BitmapTextJS bitmaptextToJS(const esengine::ecs::BitmapText &c)
EMSCRIPTEN_BINDINGS(esengine_math)
LightJS lightToJS(const esengine::ecs::Light &c)
esengine::ecs::LODGroup lodgroupFromJS(const LODGroupJS &js)
esengine::ecs::LightProbeVolume lightprobevolumeFromJS(const LightProbeVolumeJS &js)
void springbonecolliderApplyJS(esengine::ecs::SpringBoneCollider &c, const SpringBoneColliderJS &js)
esengine::ecs::TilemapLayer tilemaplayerFromJS(const TilemapLayerJS &js)
MeshLightmapJS meshlightmapToJS(const esengine::ecs::MeshLightmap &c)
esengine::ecs::ShadowCaster2D shadowcaster2dFromJS(const ShadowCaster2DJS &js)
SpriteJS spriteToJS(const esengine::ecs::Sprite &c)
UIScrollJS uiscrollToJS(const esengine::ecs::UIScroll &c)
void reflectionprobeApplyJS(esengine::ecs::ReflectionProbe &c, const ReflectionProbeJS &js)
void rigidbody3dApplyJS(esengine::ecs::RigidBody3D &c, const RigidBody3DJS &js)
esengine::ecs::MeshSkin meshskinFromJS(const MeshSkinJS &js)
void convexcollider3dApplyJS(esengine::ecs::ConvexCollider3D &c, const ConvexCollider3DJS &js)
MeshSkinJS meshskinToJS(const esengine::ecs::MeshSkin &c)
void meshcollider3dApplyJS(esengine::ecs::MeshCollider3D &c, const MeshCollider3DJS &js)
RigidBody3DJS rigidbody3dToJS(const esengine::ecs::RigidBody3D &c)
MeshRendererJS meshrendererToJS(const esengine::ecs::MeshRenderer &c)
esengine::ecs::MeshRenderer meshrendererFromJS(const MeshRendererJS &js)
RigidBody2DJS rigidbody2dToJS(const esengine::ecs::RigidBody2D &c)
ChildrenJS childrenToJS(const esengine::ecs::Children &c)
esengine::ecs::MeshLightmap meshlightmapFromJS(const MeshLightmapJS &js)
void uivisualApplyJS(esengine::ecs::UIVisual &c, const UIVisualJS &js)
void lightApplyJS(esengine::ecs::Light &c, const LightJS &js)
esengine::ecs::TrailRenderer trailrendererFromJS(const TrailRendererJS &js)
void planarreflectionApplyJS(esengine::ecs::PlanarReflection &c, const PlanarReflectionJS &js)
UIVisualJS uivisualToJS(const esengine::ecs::UIVisual &c)
TrailRendererJS trailrendererToJS(const esengine::ecs::TrailRenderer &c)
esengine::ecs::MeshCollider3D meshcollider3dFromJS(const MeshCollider3DJS &js)
void meshinstancesApplyJS(esengine::ecs::MeshInstances &c, const MeshInstancesJS &js)
esengine::ecs::PlanarReflection planarreflectionFromJS(const PlanarReflectionJS &js)
esengine::ecs::ReflectionProbe reflectionprobeFromJS(const ReflectionProbeJS &js)
void trailrendererApplyJS(esengine::ecs::TrailRenderer &c, const TrailRendererJS &js)
void uimaskApplyJS(esengine::ecs::UIMask &c, const UIMaskJS &js)
esengine::ecs::MeshInstances meshinstancesFromJS(const MeshInstancesJS &js)
MeshCollider3DJS meshcollider3dToJS(const esengine::ecs::MeshCollider3D &c)
MeshInstancesJS meshinstancesToJS(const esengine::ecs::MeshInstances &c)
esengine::ecs::UIMask uimaskFromJS(const UIMaskJS &js)
ReflectionProbeJS reflectionprobeToJS(const esengine::ecs::ReflectionProbe &c)
void meshskinApplyJS(esengine::ecs::MeshSkin &c, const MeshSkinJS &js)
esengine::ecs::Canvas canvasFromJS(const CanvasJS &js)
void flexcontainerApplyJS(esengine::ecs::FlexContainer &c, const FlexContainerJS &js)
FlexContainerJS flexcontainerToJS(const esengine::ecs::FlexContainer &c)
esengine::ecs::BitmapText bitmaptextFromJS(const BitmapTextJS &js)
ParentJS parentToJS(const esengine::ecs::Parent &c)
std::string esengineGetAbiLayoutHash()
void meshrendererApplyJS(esengine::ecs::MeshRenderer &c, const MeshRendererJS &js)
CanvasJS canvasToJS(const esengine::ecs::Canvas &c)
void canvasApplyJS(esengine::ecs::Canvas &c, const CanvasJS &js)
LODGroupJS lodgroupToJS(const esengine::ecs::LODGroup &c)
SpringBoneJS springboneToJS(const esengine::ecs::SpringBone &c)
void bitmaptextApplyJS(esengine::ecs::BitmapText &c, const BitmapTextJS &js)
void rigidbody2dApplyJS(esengine::ecs::RigidBody2D &c, const RigidBody2DJS &js)
ShadowCaster2DJS shadowcaster2dToJS(const esengine::ecs::ShadowCaster2D &c)
void springboneApplyJS(esengine::ecs::SpringBone &c, const SpringBoneJS &js)
esengine::ecs::Sprite spriteFromJS(const SpriteJS &js)
void shadowcaster2dApplyJS(esengine::ecs::ShadowCaster2D &c, const ShadowCaster2DJS &js)
void spriteApplyJS(esengine::ecs::Sprite &c, const SpriteJS &js)
static const char * kEsAbiLayoutHash
void tilemaplayerApplyJS(esengine::ecs::TilemapLayer &c, const TilemapLayerJS &js)
void uiscrollApplyJS(esengine::ecs::UIScroll &c, const UIScrollJS &js)
esengine::ecs::Camera cameraFromJS(const CameraJS &js)
esengine::ecs::FlexContainer flexcontainerFromJS(const FlexContainerJS &js)
TilemapLayerJS tilemaplayerToJS(const esengine::ecs::TilemapLayer &c)
void uinodeApplyJS(esengine::ecs::UINode &c, const UINodeJS &js)
emscripten::val esengineGetBuiltinComponentNames()
PlanarReflectionJS planarreflectionToJS(const esengine::ecs::PlanarReflection &c)
void lightprobevolumeApplyJS(esengine::ecs::LightProbeVolume &c, const LightProbeVolumeJS &js)
void lodgroupApplyJS(esengine::ecs::LODGroup &c, const LODGroupJS &js)
UINodeJS uinodeToJS(const esengine::ecs::UINode &c)
esengine::ecs::Light lightFromJS(const LightJS &js)
esengine::ecs::RigidBody2D rigidbody2dFromJS(const RigidBody2DJS &js)
void particleemitterApplyJS(esengine::ecs::ParticleEmitter &c, const ParticleEmitterJS &js)
esengine::ecs::ConvexCollider3D convexcollider3dFromJS(const ConvexCollider3DJS &js)
esengine::ecs::ParticleEmitter particleemitterFromJS(const ParticleEmitterJS &js)
esengine::ecs::RigidBody3D rigidbody3dFromJS(const RigidBody3DJS &js)
esengine::ecs::SpringBoneCollider springbonecolliderFromJS(const SpringBoneColliderJS &js)
void cameraApplyJS(esengine::ecs::Camera &c, const CameraJS &js)
esengine::ecs::UIVisual uivisualFromJS(const UIVisualJS &js)
LightProbeVolumeJS lightprobevolumeToJS(const esengine::ecs::LightProbeVolume &c)
Central container for all entities and components.
u32 changeAuditTotal() const
Unstamped writes the audit has found since it was turned on.
bool isEntityActive(Entity e) const
bool reserveDestruction(Entity entity)
void releaseDestruction(Entity entity)
u32 activityEpoch() const
bool changedSinceById(u32 typeId, Entity entity, u32 tick) const
changedSince by a component type id (componentTypeId), for a reader that names the type at run time.
T & get(Entity entity)
Gets a component from an entity (must exist).
bool isEntityEnabled(Entity e) const
bool has(Entity entity) const
Checks if an entity has a specific component.
bool hasInactiveEntities() const
u32 beginChangeRead()
For a reader about to look: the tick it is looking at, after which the clock moves on.
void markChangedById(u32 typeId, Entity entity)
markChanged by a component type id (componentTypeId): for a writer that names the type at run time,...
usize entityCount() const
u32 changeTick() const
The tick a write made now is stamped with.
bool setEntityEnabled(Entity e, bool enabled)
bool valid(Entity entity) const
Checks if an entity is currently valid.
void remove(Entity entity)
Removes a component from an entity.
void destroy(Entity entity)
Destroys an entity and removes all its components.
T & emplaceOrReplace(Entity entity, Args &&... args)
Adds or replaces a component on an entity.
Entity create()
Creates a new entity.
u32 auditChanges()
Compares, reports, and keeps a new copy.
T * tryGet(Entity entity)
Tries to get a component from an entity.
void setChangeAudit(bool enabled)
Turns the change audit on or off. On, auditChanges() compares every auditable component with the copy...
bool destructionPending(Entity entity) const
IdType id() const
Gets the packed identifier (index + generation).
CanvasScaleMode
Canvas scaling mode for different screen resolutions.
ClearFlags
Camera clear flags.
@ VisibleInside
Drawn only where the mask is — a window.
@ VisibleOutside
Drawn only where the mask is NOT — a hole.
@ None
Masks reaching this sprite are ignored.
bool setParent(Registry ®istry, Entity child, Entity newParent)
UIPositionType
Box positioning scheme. Absolute takes the node out of flex flow and places it by inset against the p...
UIVisualFit
How the texture is fitted into the node's box — CSS object-fit. Fill stretches to the box (the defaul...
SpringBoneShape
What a SpringBoneCollider is shaped like.
SpriteDrawMode
How a Sprite fills its box.
AlignSelf
Per-item cross-axis alignment override (CSS align-self). Lives on UINode since UINode carries the fle...
UIVisualType
How a UIVisual fills its UINode box. Replaces the old UIRenderer visualType + Image imageType pair: a...
ProjectionType
Camera projection type.
UIFillMethod
Fill mode for a Filled UIVisual. Horizontal/Vertical are linear crops along the axis; the Radial mode...
UIDisplay
CSS display. None removes the node AND its whole subtree from layout, rendering, and hit-testing — th...
UIPointerEvents
CSS pointer-events. None makes the node AND its subtree transparent to the pointer (drawn,...
Handle< esengine::text::BitmapFont > BitmapFontHandle
Handle to a bitmap font resource.
Handle< esengine::Environment > EnvironmentHandle
Handle to a baked environment (irradiance + prefiltered reflection).
Handle< esengine::Texture > TextureHandle
Handle to a texture resource.
Handle< esengine::ProbeVolume > ProbeVolumeHandle
Handle to a grid of baked irradiance.
Handle< esengine::Mesh > MeshHandle
Handle to GPU-resident geometry.
std::int32_t i32
Signed 32-bit integer.
TypeId componentTypeId()
Dense 0-based runtime id for a component type (ECS pool index + mask bit).
constexpr Entity INVALID_ENTITY
Invalid entity sentinel value.
std::uint32_t u32
Unsigned 32-bit integer.
std::uint8_t u8
Unsigned 8-bit integer.
float f32
32-bit floating point
glm::uvec2 designResolution
glm::vec4 backgroundColor
std::vector< u32 > entities
bool followEnvironmentSun
std::vector< u32 > joints
glm::vec3 addedVelocityMax
f32 subEmitterInheritVelocity
f32 collisionLifetimeLoss
glm::vec3 addedVelocityMin
std::vector< u32 > colliders
A CSS-style length: value interpreted per unit.
Entity identifier with packed index + generation.
Turns the MeshRenderer beside it to face each view that draws it.
glm::vec2 parallax
Parallax scroll factor per axis. 1 = moves with the world (default, no parallax); <1 = scrolls slower...
resource::BitmapFontHandle font
An axis-aligned box, sized in world units around the entity's origin.
glm::vec3 center
Where the shape sits from the entity's origin, in world units; zero is centred on it.
bool isSensor
A sensor reports overlaps and stops nothing.
Camera component for rendering viewpoints.
u32 renderTarget
Offscreen target this camera draws into; 0 = the screen. A RenderTexture handle, so it is created at ...
f32 nearPlane
Near clipping plane distance.
bool pixelPerfect
Snap the camera to the world-space pixel grid (Orthographic) so static pixel art renders crisp,...
i32 priority
Priority for determining active camera (higher = preferred).
f32 orthoSize
Orthographic size (half-height in world units).
u32 cullingMask
Sorting layers this camera renders (bit i = layer i). UI belongs to its Canvas' layer....
glm::vec4 viewport
Viewport rectangle (x, y, width, height) in normalized coords.
f32 aspectRatio
Aspect ratio (width / height), 0 = auto from viewport.
f32 farPlane
Far clipping plane distance.
ProjectionType projectionType
Projection type.
f32 fov
Field of view in degrees (perspective only).
bool isActive
Whether this is the active camera.
Canvas component for 2D game resolution management.
glm::vec4 backgroundColor
Background color for letterbox/pillarbox areas.
CanvasScaleMode scaleMode
Scaling mode for different screen resolutions.
f32 pixelsPerUnit
World pixels per physics meter (e.g., 100 means 100px = 1 Box2D meter).
i32 layer
Sorting layer this canvas' UI belongs to, for Camera.cullingMask. Membership only — UI draw order com...
f32 matchWidthOrHeight
Match factor for Match scale mode (0 = width, 1 = height).
glm::uvec2 designResolution
Design resolution in pixels.
An upright capsule — the shape a character is.
glm::vec3 center
Where the shape sits from the entity's origin, in world units; zero is centred on it.
A kinematic mover for a 3D player or NPC.
glm::vec3 realVelocity
Output: what it actually moved, per second, after collisions.
f32 mass
Mass used when it pushes dynamic bodies.
f32 halfHeight
Half the cylinder; total height is 2*(halfHeight + radius).
glm::vec3 floorNormal
Output: the floor's normal; zero while airborne.
f32 maxSlope
Steepest ground it can stand on. Beyond this it slides.
bool isOnFloor
Output: standing on ground it can walk on.
glm::vec3 velocity
Desired velocity in world units/second. A positive y is a jump.
f32 snapDown
How far it reaches down to stay on the floor over a crest. 0 = off.
f32 radius
World units, as every length here: these defaults are a 1.6 m person at the reference scale of 100 un...
u32 layer
Which collision layer it is in (0..15).
f32 stepHeight
Tallest step it climbs instead of stopping at. 0 = climbs nothing.
f32 pushForce
How hard it can shove what it walks into, in newtons. A character is swept rather than solved,...
std::vector< Entity > entities
List of child entity IDs.
The rectangle of this entity's content, in its own units.
glm::vec2 size
Width and height in local units, before the transform's scale.
glm::vec2 pivot
The point of the rectangle the transform sits on, as a fraction of its size.
The convex hull of imported geometry — a shape a solver can push.
resource::MeshHandle mesh
Geometry whose hull is the shape. Its concave detail is filled in.
u32 material
Custom material ID (0 = use default batch shader).
bool flipX
Flip armature horizontally.
bool playing
Whether animation is currently playing.
bool flipY
Flip armature vertically.
std::string animation
Current animation name.
glm::vec4 color
Color tint (RGBA, 0-1 range).
i32 layer
Sorting layer (higher = rendered on top).
f32 skeletonScale
Armature scale factor.
bool loop
Whether to loop the animation.
std::string skeletonPath
Skeleton data (*_ske.json or .dbbin).
f32 fadeInTime
Seconds to crossfade over when the animation changes.
std::string armature
Which armature in the file; empty takes the first.
std::string atlasPath
Texture atlas data (*_tex.json).
f32 timeScale
Animation playback speed multiplier.
JustifyContent justifyContent
AlignContent alignContent
Fades an entity and everything under it, the way UINode.opacity fades a UI subtree.
Stands a card in for the MeshRenderer beside it once the object covers less than screenSize of the vi...
f32 screenSize
Fraction of the viewport height below which the card replaces the mesh.
i32 resolution
The atlas's side in pixels.
i32 frames
Directions along each side of the atlas: frames x frames pictures in all.
Stand-in geometry chosen by how much of the screen the object covers.
f32 lod1Size
Fraction of the viewport height below which lod1 replaces the MeshRenderer's own mesh....
resource::MeshHandle lod1
Geometry drawn once the object is smaller than lod1Size.
resource::MeshHandle lod3
Geometry drawn once the object is smaller than lod3Size.
f32 cullSize
Fraction of the viewport height below which nothing is drawn at all. 0 disables it,...
resource::MeshHandle lod2
Geometry drawn once the object is smaller than lod2Size.
f32 hysteresis
How much further than a threshold the object must grow before the finer level comes back — 0....
A box of baked irradiance: the light for what a bake cannot hold still.
f32 spacing
World units a bake puts between probes. What the BAKE reads — the grid it produced carries its own re...
resource::ProbeVolumeHandle probes
The grid this box is read through. Invalid = nothing baked yet, which leaves everything inside lit ex...
f32 captureInterval
Seconds between captures; 0 captures once. Each lit view of the room includes the last capture's fill...
bool enabled
Disabled volumes are skipped during collection.
glm::vec3 halfExtents
Half the box's size, in world units, from the entity's position.
bool capture
Fill the box at run time from what a camera at its centre sees, all round: the walls as the lights li...
A 2D light contributing to Lit-shaded materials.
f32 environmentRotation
Turn the environment about +Y, in degrees. One number turns all three of it — sky,...
i32 layerMin
The lowest sprite layer this light reaches. A sprite on a layer below it is not lit by this light,...
i32 type
Light kind: 0 = Point, 1 = Directional, 2 = Ambient (see LightType).
bool followEnvironmentSun
Be the sun of the frame's environment. The direction and strength come from the panorama,...
glm::vec2 cookieSize
How big cookie is drawn, in world units. 0 on an axis covers the light's own reach on it — a square o...
bool drawEnvironment
Draw environment as the background as well as reflecting it. Off by default, so a scene that adopts a...
f32 innerRadius
How far the light stays at full strength before it starts falling off, in world units....
f32 shadowSoftness
Shadow penumbra softness = the light source's half-extent in world units; 0 is a hard edge (default)....
f32 radius
Point/Spot falloff radius in world units (ignored by Directional/Ambient).
bool meshShadows
Casts a shadow map over 3D meshes. Every type but Ambient can: a sun's map is cascades over the view,...
glm::vec4 groundColor
What a surface facing straight down receives with hemisphere on. Scaled by intensity,...
f32 innerAngle
Spot inner cone angle in degrees (full angle; fully lit inside).
f32 shadowDistance
Directional-light shadow reach in world units: how far its shadows are carried from whatever cast the...
bool inverseSquare
Falls off as the inverse square of the distance, in metres, as a real light does (glTF's and three....
f32 reflectionScale
What baked reflection probes show, scaled. A probe was baked under one sky, so it goes on showing tha...
bool hemisphere
Make this Ambient light two colours: color from above, groundColor from below, blended by which way a...
f32 sourceAngle
How wide a Directional light's source is, as the angle it subtends — the full angular diameter in deg...
glm::vec4 diffuseTint
The colour diffuseScale's light is tinted by, authored as color is. White = as the sky gives it.
f32 outerAngle
Spot outer cone angle in degrees (full angle; fades to dark by here).
i32 layerMax
The highest sprite layer this light reaches. See layerMin.
f32 falloff
The shape of the falloff between innerRadius and radius, as the power the linear ramp is raised to....
f32 shadowStrength
How much of this light a shadow takes away, 0..1. 1 (the default) is the whole of it; 0....
bool aimFollowedSun
With followEnvironmentSun, aim this light by its own Transform instead of by where the panorama's sun...
f32 diffuseScale
What the light this Ambient light's environment gives a surface (its diffuse half,...
glm::vec4 bakedTint
What baked INDIRECT light (a lightmap, a probe volume) is multiplied by. A bake holds the light of on...
glm::vec4 color
Light color, multiplied by intensity. RGBA for editor color-picker consistency with every other engin...
f32 intensity
Light strength multiplier.
f32 reflectionSaturation
How much colour baked reflections keep: 1 as baked, 0 grey. An overcast sky drains colour from what i...
f32 shadowExtent
Half-extent of the shadow map's world coverage: one map of this radius, centred on the middle of the ...
resource::EnvironmentHandle environment
What this Ambient light IS, when it is more than one colour: a baked panorama's irradiance and reflec...
bool enabled
Disabled lights are skipped during collection.
resource::TextureHandle cookie
A texture whose ALPHA is this light's shape — a lantern's glow, a window's shaft. Drawn at the light'...
Imported geometry, used as it is, for a level to collide against.
resource::MeshHandle mesh
The geometry to collide against. Its triangles are used directly.
u32 layer
Which collision layer the geometry is in (0..15).
Many placements of the one mesh a MeshRenderer draws, as ONE renderable.
resource::MeshHandle lod1Mesh
The cheaper mesh that stands in past lodDistance; invalid = the mesh itself at every distance....
f32 lodDistance
Metres from the eye past which lod1Mesh is drawn; 0 = never.
f32 shadowDistance
Metres from the eye past which an instance casts no shadow; 0 = as far as it is drawn....
f32 minDistance
Metres from the eye BEFORE which an instance is not drawn; 0 = from the eye outward....
f32 drawDistance
Metres from the eye past which an instance is not drawn; 0 = at any distance. A shadow map is cut by ...
Where a MeshRenderer's BAKED light comes from: the atlas, and the rectangle of it this object occupie...
glm::vec4 scaleOffset
Where in the atlas: xy scales the mesh's second UV, zw offsets it. (1,1,0,0) reads the whole texture,...
resource::TextureHandle lightmap
The baked atlas. Invalid = this object has no bake, which is not the same as a black one: it keeps th...
What SHAPE a MeshRenderer is in: how far it is blended towards each of the shapes its mesh carries.
std::vector< f32 > weights
Weight per target, 0 leaving the mesh as authored. Not clamped: a negative weight and one past 1 are ...
u32 material
Custom material ID (0 = use default batch shader).
glm::vec4 color
Color tint multiplied with per-vertex colors (white = unchanged).
bool cullBackfaces
Skip triangles facing away from the camera — a closed model's inside. A glTF says this with doubleSid...
resource::TextureHandle texture
Texture sampled by the mesh UVs (invalid = untextured, vertex colors only).
glm::vec2 parallax
Parallax scroll factor per axis. 1 = moves with the world (default, no parallax); <1 = scrolls slower...
bool opaque
Drawn as an opaque surface: no blending, and it takes part in depth — which is what lets one mesh hid...
resource::TextureHandle normalMap
Tangent-space normal map, applied on top of the geometry's own normals. Needs a mesh that HAS normals...
bool castShadows
Whether it stands in the light's way: drawn into the shadow maps (and what shelters from rain)....
bool lit
Lit by the scene's 2D lights (Light). A custom material overrides this.
i32 layer
Sorting layer (higher = rendered on top).
resource::MeshHandle mesh
Geometry from an .esmesh, drawn INSTEAD of the inline vertices.
What deforms a MeshRenderer: the entities its Joints channel indexes.
std::vector< Entity > joints
Joint entities, in the order the mesh's bind matrices are stored.
i32 skinCache
Whether the skin cache poses this mesh (SkinCacheMode).
Declares a solid box a camera cannot see through.
bool enabled
Disabled occluders hide nothing, which is what every scene without one gets: the test costs a compari...
glm::vec3 halfExtents
Half the box, in world units, from the entity's position. The default fills an unscaled builtin cube ...
Parent reference component.
Entity entity
Parent entity ID.
resource::TextureHandle texture
f32 subEmitterInheritVelocity
f32 collisionLifetimeLoss
glm::vec3 addedVelocityMax
glm::vec3 addedVelocityMin
ReflectionQuality quality
A box inside which reflections come from a bake rather than from the sky.
glm::vec3 halfExtents
Half the box this probe answers inside, in world units.
bool enabled
Disabled probes are skipped, and what stands inside reflects the sky.
u32 slot
Which column of the atlas holds it. Column 0 is the environment — what a surface outside every probe ...
resource::EnvironmentHandle reflection
The scene's baked reflections — an .esenv whose atlas holds a column per probe. The baker writes it; ...
bool enabled
Disabled bodies are left out of the world entirely.
f32 mass
Its mass in kilograms. 0 = as heavy as its shape at the density of water, a ball of 10 cm radius 4....
u32 layer
Which collision layer this body is in (0..15). ONE layer, unlike the 2D world's category bits: Jolt c...
bool continuousCollision
Checks the whole path a step covers rather than where the body ended up. What a bullet needs: discret...
f32 gravityScale
Scales this body's share of the world's gravity. 0 = weightless.
bool fixedRotation
Keeps the body upright: the solver may move it, never turn it. What a character on legs wants,...
BodyType bodyType
Static never moves, Kinematic is moved by hand, Dynamic is solved.
A 2D shadow occluder. The box is centred on the entity's world position and turns with it; its size i...
std::vector< glm::vec2 > path
The occluder's outline in local units, or empty for size's box.
glm::vec2 size
Occluder box size in world units (full width/height; centered on the Transform). Ignored by a caster ...
bool enabled
Disabled casters are skipped during collection.
glm::vec2 parallax
Parallax scroll factor per axis. 1 = moves with the world (default, no parallax); <1 = scrolls slower...
One sorting identity for an entity and everything under it.
bool enabled
A disabled group is not a group: members sort on their own again.
i32 order
Where the group sits inside that layer; higher draws on top.
i32 layer
The sorting layer the whole group presents outward.
glm::vec3 center
Where the shape sits from the entity's origin, in world units; zero is centred on it.
Spine skeletal animation component.
glm::vec4 color
Color tint (RGBA, 0-1 range).
bool playing
Whether animation is currently playing.
bool loop
Whether to loop the animation.
std::string animation
Current animation name.
std::string skin
Current skin name (empty for default).
std::string skeletonPath
Path to skeleton data file (.skel or .json).
f32 skeletonScale
Skeleton scale factor.
u32 material
Custom material ID (0 = use default batch shader).
bool flipY
Flip skeleton vertically.
bool flipX
Flip skeleton horizontally.
std::string atlasPath
Path to atlas file (.atlas).
f32 timeScale
Animation playback speed multiplier.
i32 layer
Sorting layer (higher = rendered on top).
A sphere or capsule a spring chain is kept out of, placed by its entity's transform.
f32 height
A capsule's length between its two end spheres' centres, in world units before scale.
glm::vec3 offset
Where the shape's centre is, in the entity's own space.
f32 radius
Radius, in world units before the entity's scale.
f32 drag
How much of its velocity a bone loses each frame, 0 to 1.
glm::vec3 wind
A steady wind on the chain, in world units a second squared.
f32 weight
How much of the simulated pose is used, 0 to 1: 0 is the animation alone.
f32 windGust
How far gusts swing the wind's strength, 0 to 1.
f32 radius
The thickness of the strand, in world units, kept clear of every collider.
bool enabled
Simulated this frame. Off leaves the chain exactly as the animation poses it.
std::vector< Entity > colliders
Entities with a SpringBoneCollider this chain keeps out of.
f32 windFrequency
Gusts a second.
glm::vec3 gravity
Gravity on the chain, in world units a second squared.
f32 endLength
How far the last bones of a chain reach past themselves, in world units: a leaf has no child to aim a...
f32 stiffness
How hard each bone is pulled back toward the pose the animation gives it, 0 to 1.
A stencil cut from this entity's own Sprite.
bool enabled
Off is not a mask at all: the sprite goes back to being drawn normally, which is what makes "is this ...
i32 rangeEndOrder
Last order WITHIN that layer, inclusive.
i32 rangeEndLayer
Last sorting layer this mask reaches.
bool limitRange
Stop reaching at a stated layer/order instead of running to the end of the frame.
f32 alphaCutoff
Above 0, cut to the sprite's SHAPE — fragments below this alpha do not mask.
bool flipY
Flip sprite vertically.
glm::vec2 uvOffset
UV coordinate offset for sprite sheets.
i32 maskInteraction
What a SpriteMask drawn before this sprite does to it. Opt-in, so a mask added to a scene cannot make...
glm::vec2 parallax
Parallax scroll factor per axis. 1 = moves with the world (default, no parallax); <1 = scrolls slower...
SpriteDrawMode drawMode
How this sprite fills its box; Auto infers it from tileSize and the texture's slice border.
glm::vec2 uvScale
UV coordinate scale for sprite sheets.
bool lit
Lit by the scene's 2D lights (Light), no material needed. Off = unlit.
bool flipX
Flip sprite horizontally.
i32 layer
Sorting layer (higher = rendered on top).
glm::vec2 size
Sprite size in world units ({1,1} at runtime; authored at 100px).
resource::TextureHandle texture
Texture resource handle (type-safe).
i32 order
Order WITHIN the sorting layer; higher draws on top. The explicit answer that overrides whatever the ...
u32 material
Custom material ID (0 = use default batch shader).
glm::vec2 tileSize
Tile size in world units for tiling mode ({0,0} = no tiling).
glm::vec4 color
Color tint (RGBA, 0-1 range).
glm::vec2 pivot
Pivot point (0,0 = bottom-left, 0.5,0.5 = center, 1,1 = top-right).
glm::vec2 tileSpacing
Spacing between tiles in world units ({0,0} = seamless).
resource::TextureHandle tileset
bool lit
Lit by the scene's 2D lights (Light), as a Sprite's lit is: flat normal, the layer's tint as the albe...
i32 blendMode
Blend mode (0 = Normal, 1 = Additive for glow, …).
glm::vec4 startColor
Color at the head (newest).
bool emitting
Record new points. Set false to freeze emission and let the existing streak fade in place (the ribbon...
glm::vec4 endColor
Color at the tail (oldest) — typically the head color with alpha 0.
resource::TextureHandle texture
Texture sampled along the ribbon (U runs head→tail, V across the width). Invalid = untextured (vertex...
f32 startWidth
Full ribbon width at the head (the newest point, glued to the entity).
u32 material
Custom material ID (0 = default batch shader).
f32 time
Seconds each recorded point persists before fading out of the tail.
f32 endWidth
Full ribbon width at the tail (the oldest point). 0 = taper to a line.
f32 minVertexDistance
Minimum world distance the entity must move before a new point is recorded (0 = record every frame; l...
i32 layer
Sorting layer (higher = rendered on top).
UINode — the CSS box-model layout input (the CSS/Flex primary layout model).
UIPointerEvents pointerEvents
UIVisual — the single UI visual component, merging the former low-level UIRenderer (what the renderer...
resource::TextureHandle texture
Velocity component for simple kinematic motion.
glm::vec3 linear
Linear velocity (units per second).
glm::vec3 angular
Angular velocity (radians per second).