AnyCAD Rapid SDK  2021
The Rapid CAD SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
PrimitiveShape Class Reference
Inheritance diagram for PrimitiveShape:
GfxObject

Public Member Functions

synchronized void delete ()
 
 PrimitiveShape (BufferGeometry geometry, EnumPrimitiveType type)
 
 PrimitiveShape (BufferGeometry geometry, EnumPrimitiveType type, MaterialInstance material)
 
BufferGeometry GetGeometry ()
 
void SetGeometry (BufferGeometry val)
 
EnumPrimitiveType GetPrimitiveType ()
 
void SetPrimitiveType (EnumPrimitiveType val)
 
MaterialInstance GetMaterial ()
 
void SetMaterial (MaterialInstance val)
 
Float32Buffer GetMorphTargetInfluences ()
 
void SetMorphTargetInfluences (Float32Buffer val)
 
long GetDrawCount ()
 
void SetDrawCount (long val)
 
PrimitiveShape Clone ()
 
long GetMorphTargets ()
 
BufferAttribute GetPositions ()
 
BufferAttribute GetNormals ()
 
BufferAttribute GetTexCoords ()
 
BufferAttribute GetColors ()
 
ElementAttribute GetIndex ()
 
void RequestUpdate ()
 
AxisAlignedBox GetBoundingBox ()
 
boolean HasMorphTargets ()
 
boolean HasMorphNormals ()
 
boolean HasColorAttribute ()
 
IntersectPoint Intersect (Ray ray)
 
- Public Member Functions inherited from GfxObject
synchronized void delete ()
 
long GetUuid ()
 
void SetUuid (long val)
 

Static Public Member Functions

static PrimitiveShape Cast (GfxObject obj)
 

Protected Member Functions

 PrimitiveShape (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 
- Protected Member Functions inherited from GfxObject
 GfxObject (long cPtr, boolean cMemoryOwn)
 
void swigSetCMemOwn (boolean own)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (PrimitiveShape obj)
 
- Static Protected Member Functions inherited from GfxObject
static long getCPtr (GfxObject obj)