Blender V4.3
blender::geometry::RealizeInstancesOptions Struct Reference

#include <GEO_realize_instances.hh>

Public Attributes

bool keep_original_ids = false
 
bool realize_instance_attributes = true
 
std::reference_wrapper< const bke::AttributeFilterattribute_filter
 

Detailed Description

General options for realize_instances.

Definition at line 14 of file GEO_realize_instances.hh.

Member Data Documentation

◆ attribute_filter

std::reference_wrapper<const bke::AttributeFilter> blender::geometry::RealizeInstancesOptions::attribute_filter
Initial value:

Definition at line 28 of file GEO_realize_instances.hh.

◆ keep_original_ids

bool blender::geometry::RealizeInstancesOptions::keep_original_ids = false

The default is to generate new ids for every element (when there was any id attribute in the input). This avoids having a geometry that contains the same id many times. When this is true the ids on the original geometries are kept unchanged and ids on instances are ignored. Ids are zero initialized when the original geometry did not have an id.

Definition at line 21 of file GEO_realize_instances.hh.

◆ realize_instance_attributes

bool blender::geometry::RealizeInstancesOptions::realize_instance_attributes = true

When true the output geometry will contain all the generic attributes that existed on instances. Otherwise, instance attributes are ignored.

Definition at line 26 of file GEO_realize_instances.hh.


The documentation for this struct was generated from the following file: