Attribute_GetComponentBase.kl

Types

BaseGeometry (object)

BaseGeometry is a base class for geometry types such as PolygonMesh which regroups common functionality, such as the GeometryAttribute container or base support for statistics. Note that although the BaseGeometry contains the attribute container, attribute values management is Geometry specific.

Members

GeometryAttributes attributes Container for all attributes.
String debugName Name that will be printed in descriptions.
UInt32 structureVersion Version of the geometry structure itself, excluding the GeometryAttributes content.
Boolean computeGPUBoundingVolume If positions are on the GPU: if true, the bounding volume is computed, else an infinite bbox is returned.
ThreadsafeMetaDataContainer metaData Container for holding various user data (Geometry specific), such as the BoundingBox cache data, or raycast acceleration structures and data (Octree).

Methods

  BaseGeometry ( in BaseGeometry other )
  BaseGeometry ()
  applyTransform ! ( in Mat44 transform )
  applyTransform ! ( in Xfo transform )
  clear ! ()
BaseGeometry clone ? ()
Vec3[] getAllPointPositions ? ()
Boolean getAttributeValueArray_CheckIndex ? ( in SInt32 mode, io Size vertexCount, io Size faceCount, io Size faceCornerTotalCount, io Size resultSize, io UInt32 idxs[] )
LocalBoundingVolume getBoundingVolume ? ()
Ref<ThreadsafeMetaDataContainer> getMetaDataContainer ? ()
Vec3 getPosition ? ( in Size point )
Size pointCount ? ()
  setAllPointPositions ! ( in Vec3 positions[] )
Boolean setAttributeValueArray_CheckIndex ? ( in SInt32 mode, io UInt32 idxs[], io Size vertexCount, io Size faceCount, io Size faceCornerTotalCount, io Size resultSize )
  setPosition ! ( in Size point, in Vec3 position )