|
Bifrost SDK
Bifrost SDK documentation
|
Functions for manipulating Component GeoProperties.
| Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getComponentGeoPropPrototype | ( | ) |
Returns the prototypical component geometry property object.
The returned pointer may be used in conjunction with Bifrost::Object::isA to determine if an object conforms to the component geometry property schema. The returned object may not be modified.
| Amino::uint_t BIFROST_GEOMETRY_DECL Bifrost::Geometry::getElementCount | ( | const Bifrost::Object & | compGeoProp | ) |
Get the number of component elements in a ComponentGeoProperty object.
| [in] | compGeoProp | Component Geo Property to query. |
| Amino::uint_t BIFROST_GEOMETRY_DECL Bifrost::Geometry::getElementCount | ( | const Bifrost::Object & | object, |
| Amino::StringView | component | ||
| ) |
Get the number of elements in a component of a geometry.
For example, to get the number of points in a points geometry:
| [in] | object | Geometry object which contains the ComponentGeoProperty. |
| [in] | component | Name of the component geometry property. |
| void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populateComponentGeoProperty | ( | Amino::uint_t | elementCount, |
| Bifrost::Object & | object | ||
| ) |
| bool BIFROST_GEOMETRY_DECL Bifrost::Geometry::setElementCount | ( | Amino::StringView | component, |
| Amino::uint_t | elementCount, | ||
| Bifrost::Object & | object | ||
| ) |
Set the number of elements in a component of a geometry.
For example, to set the number of points to 10, in a points geometry:
| [in] | component | Name of the component geometry property. |
| [in] | elementCount | Number of elements (stored). |
| [in,out] | object | Object that contains the geometry property component that will be modified. |