AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
BatchedBufferShape (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection) | |
PrimitiveShape | GetFaces () |
PrimitiveShape | GetEdges () |
boolean | Build () |
boolean | ComputeLineDistances () |
BatchedBufferShape | CloneMe () |
int | GetFaceIndex (int faceTopoId) |
long | GetFaceCount () |
void | SetFaceMaterial (MaterialInstance material) |
void | SetFaceMaterial (long idx, MaterialInstance material) |
int | GetEdgeIndex (int edgeTopoId) |
long | GetEdgeCount () |
void | SetEdgeMaterial (MaterialInstance material) |
void | SetEdgeMaterial (long idx, MaterialInstance material) |
void | ComputeBoundingBox () |
void | Transform (Matrix4 trf) |
Float32Array | GetUV (long faceId) |
Public 成员函数 继承自 GRepShape | |
AABox | GetBoundingBox () |
void | SetBoundingBox (AABox val) |
double | GetDeflection () |
void | SetDeflection (double val) |
boolean | GetBuildVertex () |
void | SetBuildVertex (boolean val) |
EnumShapeFilter | GetDisplayFilter () |
void | SetDisplayFilter (EnumShapeFilter val) |
boolean | GetChildrenPickable () |
void | SetChildrenPickable (boolean val) |
MaterialInstance | GetEdgeMaterial () |
MaterialInstance | GetFaceMaterial () |
TopoShape | GetShape () |
boolean | GetReady () |
GRepShape | Clone () |
boolean | IsNull () |
boolean | Build () |
void | SetShape (TopoShape shape, boolean update) |
void | SetShape (TopoShape shape) |
int | GetFaceIndex (int faceTopoId) |
long | GetFaceCount () |
void | SetFaceMaterial (MaterialInstance material) |
void | SetFaceMaterial (long idx, MaterialInstance material) |
int | GetEdgeIndex (int edgeTopoId) |
long | GetEdgeCount () |
void | SetEdgeMaterial (MaterialInstance material) |
void | SetEdgeMaterial (long idx, MaterialInstance material) |
void | RequestUpdate () |
boolean | ComputeLineDistances () |
void | ComputeBoundingBox () |
void | Transform (Matrix4 trf) |
Float32Array | GetUV (long faceId) |
静态 Public 成员函数 | |
static BatchedBufferShape | Cast (GRepShape bs) |
静态 Public 成员函数 继承自 GRepShape | |
static GRepShape | Create (TopoShape shape, MaterialInstance material, MaterialInstance edgeMaterial, double deflection, boolean optimized) |
static GRepShape | Create (boolean optimized) |
<>
BatchedBufferShape
The bridge between BufferGeometry and SceneNode.
boolean BatchedBufferShape.Build | ( | ) |
void BatchedBufferShape.ComputeBoundingBox | ( | ) |
计算包围盒
重载 GRepShape .
boolean BatchedBufferShape.ComputeLineDistances | ( | ) |
long BatchedBufferShape.GetEdgeCount | ( | ) |
int BatchedBufferShape.GetEdgeIndex | ( | int | edgeTopoId | ) |
long BatchedBufferShape.GetFaceCount | ( | ) |
int BatchedBufferShape.GetFaceIndex | ( | int | faceTopoId | ) |
Float32Array BatchedBufferShape.GetUV | ( | long | faceId | ) |
void BatchedBufferShape.SetEdgeMaterial | ( | long | idx, |
MaterialInstance | material | ||
) |
void BatchedBufferShape.SetEdgeMaterial | ( | MaterialInstance | material | ) |
void BatchedBufferShape.SetFaceMaterial | ( | long | idx, |
MaterialInstance | material | ||
) |
void BatchedBufferShape.SetFaceMaterial | ( | MaterialInstance | material | ) |