AnyCAD Rapid API 2023
Help you to create a better world!
BatchedBufferShape Class Reference
Inheritance diagram for BatchedBufferShape:
BufferShapeBase

Public Member Functions

 BatchedBufferShape (TopoShape shape, MaterialInstance faceMaterial, MaterialInstance edgeMaterial, double deflection)
 
PrimitiveShape GetFaces ()
 
PrimitiveShape GetEdges ()
 
boolean Build ()
 
boolean ComputeLineDistances ()
 
BatchedBufferShape CloneMe ()
 
void SetFaceMaterial (MaterialInstance material)
 
void SetFaceMaterial (long idx, MaterialInstance material)
 
void SetEdgeMaterial (MaterialInstance material)
 
void SetEdgeMaterial (long idx, MaterialInstance material)
 
void ComputeBoundingBox ()
 
- Public Member Functions inherited from BufferShapeBase
 BufferShapeBase (TopoShape shape, MaterialInstance material, MaterialInstance edgeMaterial, double deflection)
 
TopoShape GetShape ()
 
AxisAlignedBox GetBoundingBox ()
 
void SetBoundingBox (AxisAlignedBox val)
 
boolean GetReady ()
 
double GetDeflection ()
 
void SetDeflection (double val)
 
MaterialInstance GetEdgeMaterial ()
 
MaterialInstance GetFaceMaterial ()
 
boolean GetBuildVertex ()
 
void SetBuildVertex (boolean val)
 
EnumShapeFilter GetDisplayFilter ()
 
void SetDisplayFilter (EnumShapeFilter val)
 
boolean IsNull ()
 
void SetShape (TopoShape shape)
 
void RequestUpdate ()
 
BufferShapeBase Clone ()
 

Static Public Member Functions

static BatchedBufferShape Cast (BufferShapeBase bs)
 

Detailed Description

<>
BatchedBufferShape

The bridge between BufferGeometry and SceneNode.

Member Function Documentation

◆ Build()

boolean BatchedBufferShape.Build ( )

triangulate the shape.

Returns
true if done.

Reimplemented from BufferShapeBase.

◆ ComputeBoundingBox()

void BatchedBufferShape.ComputeBoundingBox ( )

Reimplemented from BufferShapeBase.

◆ ComputeLineDistances()

boolean BatchedBufferShape.ComputeLineDistances ( )

Reimplemented from BufferShapeBase.

◆ SetEdgeMaterial() [1/2]

void BatchedBufferShape.SetEdgeMaterial ( long  idx,
MaterialInstance  material 
)

Reimplemented from BufferShapeBase.

◆ SetEdgeMaterial() [2/2]

void BatchedBufferShape.SetEdgeMaterial ( MaterialInstance  material)

Reimplemented from BufferShapeBase.

◆ SetFaceMaterial() [1/2]

void BatchedBufferShape.SetFaceMaterial ( long  idx,
MaterialInstance  material 
)

Reimplemented from BufferShapeBase.

◆ SetFaceMaterial() [2/2]

void BatchedBufferShape.SetFaceMaterial ( MaterialInstance  material)

Reimplemented from BufferShapeBase.