BooleanOperand.Of

Of(Node)

Construct a BooleanOperand instance from a node, a valid entity implemented IMeshConvertible is required

public static BooleanOperand Of(Node node)
ParameterTypeDescription
nodeNodeA Node instance with a valid entity implemented IMeshConvertible

Return Value

An instance of BooleanOperand

Exceptions

exceptioncondition
ArgumentNullExceptionRaised when node is null.
InvalidOperationExceptionRaised when no entity implemented IMeshConvertible found under this node

See Also


Of(Entity)

Construct a BooleanOperand instance from a bare IMeshConvertible instance.

public static BooleanOperand Of(Entity mesh)
ParameterTypeDescription
meshEntityThe mesh used as Boolean operation’s operand, it can bean instance of IMeshConvertible or HalfSpace

Return Value

An instance of BooleanOperand

Exceptions

exceptioncondition
ArgumentNullExceptionRaised when mesh is null.

See Also


Of(Entity, Matrix4?)

public static BooleanOperand Of(Entity mesh, Matrix4? transform)

See Also