csharp
public readonly record struct CsgNodeAn entity whose geometry is a boolean of its children's.
Remarks
⚠ The operands are the entity's children rather than a list of references. A reference would be a second way for one entity to name another, with its own lifetime rules — what happens when an operand is deleted, what a duplicate of the result does about them, what the outliner draws. Children answer all of that for free: deleting the result deletes its operands, duplicating it duplicates them, and the outliner shows the tree it already shows.
Fields and properties (2)
public BooleanOperation OperationWhich boolean.
public int InputsWhat the operands looked like when the result was last built, so that a change to one of them is noticed without the document having to describe what changed.
Methods (1)
public CsgNode(BooleanOperation Operation, int Inputs)An entity whose geometry is a boolean of its children's.
Used by (4)
- BooleanCommandVixen.Editor.SceneView
- SceneCsgVixen.Editor.SceneView
- SceneDocumentVixen.Editor.SceneView
- SceneSerializerVixen.Editor.SceneView