Crate ark_api

source ยท
Expand description

Modules

๐Ÿ Applet API
๐Ÿ“จ Behavior API
๐Ÿ“ค Behavior Controller API
๐Ÿ”ฉ Core API
๐ŸŽš Feature toggle API
๐Ÿ’พ File UX API
๐Ÿ“ก HTTP Request API
๐Ÿ‘พ Machine Learning API
๐Ÿง  Machine Learning Inference API
๐Ÿƒโ€โ™‚๏ธ Module Run API
๐Ÿš„ Profiler API
๐Ÿ–ผ๏ธ Render API
๐Ÿงฐ Resource API
๐Ÿ’ฝ Storage API
๐Ÿ“ฎ Telemetry API
โŒš Time API
๐Ÿšง Unstable APIs, may change at any time, does not respect semver nor has stable ABI. Use at own risk.
๐Ÿง‘ User API
๐ŸŒ World API

Macros

Like std::dbg! but uses info!.
Logs a message at the debug level.
Logs a message at the error level.
Macro for implementing standard accessor trait
Macro for implementing standard accessor trait, but with an index parameter.
Macro for implementing standard component trait
Logs a message at the info level.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Macro to require and use the API.
Call at least once from your Module setup code to enable profiling using the puffin profiler.
Logs a message at the trace level.
Logs a message at the warn level.

Structs

A 3D affine transform, which can represent translation, rotation, scaling and shear.
A 3-dimensional axis-aligned bounding box
A compressed sRGBA color, 8-bit per component, 32-bit total.
Represents a transform with translation + rotation + uniform scale. Preserves local angles. Scale and rotation will be applied first, then translation.
An isometric transform represented by translation * rotation.
A 3x3 column major matrix.
A 4x4 column major matrix.
Simple mesh representation, layer on to of MeshData
Bounding box & sphere of mesh.
User-friendly mesh buffer contents struct
A 3-dimensional plane primitive.
A quaternion representing an orientation.
A ray in 3-dimensional space: a line through space with a starting point and a direction.
A 2-dimensional vector.
A 3-dimensional vector.
A 4-dimensional vector.

Enums

API error enum, describes how an Ark API call can fail
Euler rotation sequences.

Traits

Coordinate system extension to Vec3

Attribute Macros

Arkโ€™s version of Rustโ€™s #[test] macro