Skip to main content

shape_transition

Function shape_transition 

Source
pub fn shape_transition(from: ShapeId, property_hash: u32) -> Option<ShapeId>
Expand description

Transition a shape by adding a new property.

Uses the global shape transition table. Returns None if dictionary mode threshold (>64 properties) would be exceeded.