AnyCAD Rapid API 2023
Help you to create a better world!
PrimitiveShape Class Reference

Public Member Functions

 PrimitiveShape (BufferGeometry geometry)
 
 PrimitiveShape (BufferGeometry geometry, MaterialInstance material)
 
long GetUserId ()
 
void SetUserId (long val)
 
BufferGeometry GetGeometry ()
 
void SetGeometry (BufferGeometry val)
 
MaterialInstance GetMaterial ()
 
void SetMaterial (MaterialInstance val)
 
Float32Buffer GetMorphTargetInfluences ()
 
void SetMorphTargetInfluences (Float32Buffer val)
 
long GetDrawCount ()
 
void SetDrawCount (long val)
 
PrimitiveShape Clone ()
 
EnumPrimitiveType GetPrimitiveType ()
 
BufferAttribute GetPositions ()
 
BufferAttribute GetNormals ()
 
BufferAttribute GetTexCoords ()
 
BufferAttribute GetColors ()
 
ElementAttribute GetIndex ()
 
AxisAlignedBox GetBoundingBox ()
 
boolean HasMorphTargets ()
 
boolean HasMorphNormals ()
 
boolean HasColorAttribute ()
 
long GetMorphTargets ()
 
boolean ComputeLineDistances ()
 
void RequestUpdate ()
 

Static Public Member Functions

static void setNullPtr (PrimitiveShape value)
 
static PrimitiveShape getNullPtr ()
 

Detailed Description

<> The primitive shape, with material for geometry.