|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| String | GetName () |
| void | SetName (String val) |
| PrimitiveShapeList | GetShapes () |
| AABox | GetBoundingBox () |
| void | SetBoundingBox (AABox val) |
| CompoundShape | Clone () |
| void | SetMaterial (MaterialInstance material) |
| void | SetColor (Vector3 color) |
| void | UpdateBoundingBox () |
| void | AddTargetName (String name, long id) |
| void | UpdateMorphTargets () |
| void | Clear () |
| void | Add (PrimitiveShape shape) |
| void | AddPrimitive (PrimitiveShape shape) |
| void | Add (BufferGeometry geometry, MaterialInstance material) |
| void | AddGeometry (BufferGeometry geometry, MaterialInstance material) |
| void | Add (BufferGeometry geometry, MaterialInstance material, Vector3 color) |
| void | AddGeometryWithColor (BufferGeometry geometry, MaterialInstance material, Vector3 color) |
| long | GetCount () |
| PrimitiveShape | GetPrimitive (long idx) |
<> 复合形状.
| void CompoundShape.Add | ( | BufferGeometry | geometry, |
| MaterialInstance | material ) |
添加形状.
| geometry | 几何图形. |
| material | 材质. |
| void CompoundShape.Add | ( | BufferGeometry | geometry, |
| MaterialInstance | material, | ||
| Vector3 | color ) |
添加形状.
| geometry | 几何图形. |
| material | 材质. |
| color | 颜色. |
| void CompoundShape.Add | ( | PrimitiveShape | shape | ) |
添加形状.
| shape | 形状. |
| long CompoundShape.GetCount | ( | ) |
获取形状数量.
| PrimitiveShape CompoundShape.GetPrimitive | ( | long | idx | ) |
获取形状.
| idx | 索引. |
| void CompoundShape.SetColor | ( | Vector3 | color | ) |
设置颜色.
| color | 颜色. |
| void CompoundShape.SetMaterial | ( | MaterialInstance | material | ) |
设置材质.
| material | 材质. |
| void CompoundShape.UpdateBoundingBox | ( | ) |
更新包围盒.