EcsFinal

Static EcsFinal 

Source
pub unsafe static EcsFinal: ecs_entity_t
Expand description

Ensures that entity/component cannot be used as target in IsA relationship. Final can improve the performance of rule-based queries, as they will not attempt to substitute a final component with its subsets.

Behavior: if IsA(X, Y) and Final(Y) throw error