Skip to main content

shape_property_index

Function shape_property_index 

Source
pub fn shape_property_index(
    shape_id: ShapeId,
    property_hash: u32,
) -> Option<usize>
Expand description

Look up the slot index of a property in a shape.

Consults the ambient shape table. Returns None if no scope is active.