AlembicGeometryAttributesReader (object)¶
AlembicGeometryAttributesReader is used to read a GeometryAttributes from the alembic file. You usually don’t have to interact with this object, but use the AlembicPolyMeshReader or AlembicCurvesReader, for example
Methods¶
AlembicGeometryAttributesReader ( in AlembicArchiveReader archive, in AlembicICompoundProperty compound ) | |
AlembicGeometryAttributesReader ( in AlembicGeometryAttributesReader other ) | |
AlembicGeometryAttributesReader ( in AlembicICompoundProperty compound ) | |
AlembicGeometryAttributesReader () | |
AlembicGeometryAttributesReader | clone ? () |
AlembicICompoundProperty | getRootCompound ? () |
Boolean | readCurveSample ! ( in Float64 time, in UInt32 curveCount, in UInt32 pointToCurve<>, in UInt32 optionalPointToIndex<>, io GeometryAttributes attributes ) |
Boolean | readSample ! ( in Float64 time, io GeometryAttributes attributes ) |
Boolean | readSample ! ( in Float64 time, io PolygonMesh mesh, in Boolean keepSameAttributeIndices ) |
reset ! () |
Methods in detail¶
AlembicGeometryAttributesReader ( in AlembicArchiveReader archive, in AlembicICompoundProperty compound )
Constructor based on the AlembicICompoundProperty from an archive
AlembicGeometryAttributesReader ( in AlembicGeometryAttributesReader other )
copy constructor
AlembicGeometryAttributesReader ( in AlembicICompoundProperty compound )
Constructor based on the AlembicICompoundProperty
AlembicGeometryAttributesReader ()
default constructor
AlembicGeometryAttributesReader AlembicGeometryAttributesReader.clone? ()
clone method
AlembicICompoundProperty AlembicGeometryAttributesReader.getRootCompound? ()
Returns the root compound for the geometry attributes reader.
Boolean AlembicGeometryAttributesReader.readCurveSample! ( in Float64 time, in UInt32 curveCount, in UInt32 pointToCurve<>, in UInt32 optionalPointToIndex<>, io GeometryAttributes attributes )
reads a curve geometry sample at a given time. this will properly interpolate between samples.
curveCount | Curve count, used as a hint to find if a parameter is per curve |
pointToCurve | Curve index per GeometryAttributes point |
optionalPointToIndex | Alembic geometry param index per GeometryAttributes point (none if empty) |
Boolean AlembicGeometryAttributesReader.readSample! ( in Float64 time, io GeometryAttributes attributes )
reads a sample at a given time. this will properly interpolate between samples. the result is stored in the provided GeometryAttributes.
Boolean AlembicGeometryAttributesReader.readSample! ( in Float64 time, io PolygonMesh mesh, in Boolean keepSameAttributeIndices )
reads a sample at a given time. this will properly interpolate between samples. the result is stored in the provided PolygonMesh.
AlembicGeometryAttributesReader.reset! ()
release all alembic handles and all internal pointers