|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
| BufferGeometry (EnumPrimitiveType type, long instanceCount) | |
| BufferGeometry (EnumPrimitiveType type) | |
| EnumPrimitiveType | GetPrimitiveType () |
| void | SetPrimitiveType (EnumPrimitiveType val) |
| long | GetInstanceCount () |
| void | SetInstanceCount (long val) |
| boolean | GetMultiDraw () |
| void | SetMultiDraw (boolean val) |
| AABox | GetBoundingBox () |
| ArrayBuffer | GetSubDrawIndex () |
| void | SetSubDrawIndex (ArrayBuffer val) |
| Int32Buffer | GetSubDrawCount () |
| void | SetSubDrawCount (Int32Buffer val) |
| ElementAttribute | GetIndex () |
| long | GetUpdateVersion () |
| long | GetVertexCount () |
| void | SetBoundingBox (AABox box) |
| boolean | IsEmpty () |
| void | RequestUpdate () |
| BufferAttribute | GetAttribute (long idx) |
| void | AddAttribute (EnumAttributeSemantic loc, EnumAttributeComponents component, ArrayBuffer data) |
| void | SetIndex (Uint32Buffer data) |
| void | SetIndex (Uint16Buffer data) |
| BufferAttribute | FindAttribute (EnumAttributeSemantic location) |
| boolean | HasColorAttribute () |
| boolean | HasAttribute (EnumAttributeSemantic semantic) |
| void | ComputeBoundingBox () |
| AABox | GetSafeBoudingBox () |
Public 成员函数 继承自 GfxObject | |
| long | GetUuid () |
<> The geometry can be buffered in GPU.
| void BufferGeometry.AddAttribute | ( | EnumAttributeSemantic | loc, |
| EnumAttributeComponents | component, | ||
| ArrayBuffer | data | ||
| ) |
Add vertex attribute.
| BufferAttribute BufferGeometry.GetAttribute | ( | long | idx | ) |
Get attribute by index
| idx | the index |