Module world_v4

Module world_v4 

Source

Structs§

AudioClipResource
DominantColorWithArea
EntityBounds
EntityDebugOptions
EntityMeshStyleTint
EntityRenderEnable
EntityStateFlags
The state of a requested entity value
EntityTransform
EntityTransformAffine3
EntityVelocity
MeasuredTextSize
min_x/min_y/width/height are in World units, same as the size the text will appear in the world if you apply no scaling
Ray
Ray, a line through space with a starting point and a direction.
RaycastHit
RaycastQueryOptions
RaycastQueryWithOptions
SpatialQueryHit
SpherecastQuery

Enums§

EntityValueType

Constants§

ENTITY_HANDLE_INVALID

Statics§

API
FFI API

Functions§

get_data_debug_name
get_entity_values
get_mesh_section_count
get_mesh_section_dominant_color
get_mesh_section_material_index
measure_formatted_text
Measure how large text will be when mesh-generated and rendered. Needed for some layout tasks in sandbox. Formatting information is embedded in the text with the same encoding as is used for display, so just pass the string in here.
raycastDeprecated
raycast_batchedDeprecated
set_data_debug_name
Sets the debug name of a data object (useful for debugging data memory usage and leaks etc.)
set_entity_debug_options
set_entity_values
spherecast
spherecast_batched
world__get_data_debug_name
world__get_entity_values
world__get_mesh_section_count
world__get_mesh_section_dominant_color
world__get_mesh_section_material_index
world__measure_formatted_text
Measure how large text will be when mesh-generated and rendered. Needed for some layout tasks in sandbox. Formatting information is embedded in the text with the same encoding as is used for display, so just pass the string in here.
world__raycastDeprecated
world__raycast_batchedDeprecated
world__set_data_debug_name
Sets the debug name of a data object (useful for debugging data memory usage and leaks etc.)
world__set_entity_debug_options
world__set_entity_values
world__spherecast
world__spherecast_batched

Type Aliases§

DataHandle
EntityHandle
MeshHandle
ResourceHandleRepr
A raw handle to a unique resource