Bifrost SDK
Bifrost SDK documentation
Instance functions

Functions

Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getInstancesPrototype ()
 Returns the prototypical Instances object. More...
 
void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populateInstances (Bifrost::Object &object)
 Populate an object with the required properties to conform to the Instances schema. More...
 

Detailed Description

Functions for creating Instance geometry objects.

Function Documentation

◆ getInstancesPrototype()

Amino::Ptr< Bifrost::Object > BIFROST_GEOMETRY_DECL Bifrost::Geometry::getInstancesPrototype ( )

Returns the prototypical Instances object.

The returned pointer may be used in conjunction with Bifrost::Object::isA to determine if an object conforms to the Instances schema. The returned object may not be modified.

Returns
The prototypical Instances object.

◆ populateInstances()

void BIFROST_GEOMETRY_DECL Bifrost::Geometry::populateInstances ( Bifrost::Object object)

Populate an object with the required properties to conform to the Instances schema.

The instances geo is initially empty.

Parameters
[in,out]objectInstances object to be populated.