BooleanOperand.Of
内容
[
隐藏
]Of(Node)
构造一个 BooleanOperand 实例,需要提供一个节点和一个实现了 IMeshConvertible 的有效实体
public static BooleanOperand Of(Node node)
| 参数 | 类型 | 描述 |
|---|---|---|
| node | Node | 一个具有实现了 IMeshConvertible 的有效实体的 Node 实例 |
返回值
一个 BooleanOperand 实例
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | 当 node 为 null 时抛出。 |
| InvalidOperationException | 当在此节点下未找到实现了 IMeshConvertible 的实体时抛出 |
另请参见
- class Node
- class BooleanOperand
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D
Of(Entity)
从一个裸的 IMeshConvertible 实例构造一个 BooleanOperand 实例。
public static BooleanOperand Of(Entity mesh)
| 参数 | 类型 | 描述 |
|---|---|---|
| mesh | Entity | 用于布尔运算的操作数的网格,它可以是 IMeshConvertible 或 HalfSpace 的实例。 |
返回值
一个 BooleanOperand 实例
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | 当 mesh 为 null 时抛出。 |
另请参见
- class Entity
- class BooleanOperand
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D
Of(Entity, Matrix4?)
public static BooleanOperand Of(Entity mesh, Matrix4? transform)
另请参见
- class Entity
- struct Matrix4
- class BooleanOperand
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D