|
Bifrost SDK
Bifrost SDK documentation
|
Functions | |
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL | Bifrost::Geometry::getStrandPrototype () |
| Returns the prototypical strand object. More... | |
| void BIFROST_GEOMETRY_DECL | Bifrost::Geometry::populateStrand (Bifrost::Object &object) |
| Populate an object with the required properties to conform to the strand geometry schema. More... | |
| bool BIFROST_GEOMETRY_DECL | Bifrost::Geometry::populateStrand (Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > positions, Amino::Ptr< Amino::Array< Bifrost::Geometry::Index > > strandOffsets, Bifrost::Object &object) |
| Populate an object with the required properties to conform to the strand geometry schema. More... | |
Functions for creating Strand geometry objects.
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getStrandPrototype | ( | ) |
Returns the prototypical strand object.
The returned pointer may be used in conjunction with Bifrost::Object::isA to determine if an object conforms to the strand schema. The returned object may not be modified.
| bool BIFROST_GEOMETRY_DECL Bifrost::Geometry::populateStrand | ( | Amino::Ptr< Amino::Array< Bifrost::Math::float3 > > | positions, |
| Amino::Ptr< Amino::Array< Bifrost::Geometry::Index > > | strandOffsets, | ||
| Bifrost::Object & | object | ||
| ) |
Populate an object with the required properties to conform to the strand geometry schema.
The strand is initialized with the specified data.
| [in] | positions | The initial positions. |
| [in] | strandOffsets | The initial offsets. |
| [in,out] | object | Strand geometry object to be populated. |
| void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populateStrand | ( | Bifrost::Object & | object | ) |
Populate an object with the required properties to conform to the strand geometry schema.
The strand is initially empty.
| [in,out] | object | Strand geometry object to be populated. |