Given a mesh with MeshBuilder::AllowNestedComponents, compute if there are actually such components present.
The mesh must be supersolid and will otherwise yield Result::OperandMustBeSupersolid. (The property is volumetric and non-supersolids have no well defined volume.)
The result is stored in a TypedBlob with BlobType::QueryResult and DataSlot::QueryResultBool.
Note:
the query result is only available after the Operation was executed.
Note:
The mesh must have set MeshBuilder::AllowNestedComponents. (i.e. we detect if the flag can be safely turned off, not if it was mistakenly disabled.)
Signature
class Operation:
// Checks if a supersolid mesh contains nested components
fun queryHasNestedComponents(
mesh: MeshOperand,
) -> TypedBlob