Contents

namespace

SushiEngine::Simulation

Declared in
engine/foundation/addon/include/SushiEngine/addon/addon_host.hpp

Contains

Enumerations

PrimitiveKind

Names the primitive shape a Collider is expressed as.

FrameUniverse

Which reference universe an entity's stored pose is expressed in.

FrameMode

How an entity's authored transform is interpreted relative to its frame.

PlacementIntent

Says whether a written pose continues the entity's motion or jumps it somewhere new.

ScriptFieldKind

Names the payload type of a user-defined "script" component field.

JointType

Which degrees of freedom a joint removes, at the boundary.

JointMotorType

What a joint's drive holds: nothing, a coordinate, or its rate.

ContactPhase

Where in a contact's life an event was reported.

UIElementKind

Names the kind of UI node a UI entity is.

Typedefs

EntityId

A stable, editor-facing handle to one world entity.

Variables

PRIMITIVE_KIND_COUNT

How many PrimitiveKind values exist.

NULL_ENTITY

The null entity id; no entity carries it.

JOINT_TYPE_COUNT

How many kinds JointType names; the bound of any list drawn over them.

JOINT_MOTOR_TYPE_COUNT

How many kinds JointMotorType names; the bound a stored value must stay below.

UNTRACKED_MATERIAL_REVISION

Names the value IMaterialSource::asset_revision answers when the source keeps no per-asset revision.

MATERIAL_TEXTURE_SLOTS

Lists every texture slot of MaterialTextureAssets, in declaration order.

MATERIAL_TEXTURE_SLOT_COUNT

How many entries MATERIAL_TEXTURE_SLOTS has.

Functions

arbitrary_perpendicular

Returns an arbitrary unit vector perpendicular to direction.

transport_reference

Parallel-transports reference across a change in local vertical.

make_behavior

BehaviorRegistry::Factory body for T, named rather than a lambda — see register_behavior.

register_behavior

Registers T under type_name.

find_material_field

Finds the field descriptor key names.

find_material_texture_slot

Returns the slot a key names, or nullptr when the key names none.

character_half_height

Returns half the capsule's straight segment, excluding its caps.