AnyCAD Rapid API 2023
Help you to create a better world!
载入中...
搜索中...
未找到
PrimitiveShape类 参考

Public 成员函数

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

静态 Public 成员函数

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

详细描述

<> The primitive shape, with material for geometry.