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

Public Member Functions

 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 ()
 
boolean Build ()
 
void SetShape (TopoShape shape)
 
void SetFaceMaterial (MaterialInstance material)
 
void SetFaceMaterial (long idx, MaterialInstance material)
 
void SetEdgeMaterial (MaterialInstance material)
 
void SetEdgeMaterial (long idx, MaterialInstance material)
 
void RequestUpdate ()
 
boolean ComputeLineDistances ()
 
void ComputeBoundingBox ()
 
BufferShapeBase Clone ()
 

Detailed Description

<>
BufferShape

The bridge between BufferGeometry and SceneNode.

Member Function Documentation

◆ Build()

boolean BufferShapeBase.Build ( )

triangulate the shape.

Returns
true if done.

Reimplemented in BatchedBufferShape, and BufferShape.

◆ RequestUpdate()

void BufferShapeBase.RequestUpdate ( )

request to update the shape.

◆ SetShape()

void BufferShapeBase.SetShape ( TopoShape  shape)

Update the shape.

Parameters
shapethe new shape.