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

#include <GEO_realize_instances.hh>

Public Attributes

bool keep_original_ids = false
bool realize_instance_attributes = true
bool realize_to_point_domain = true
bool preserve_normals = false
std::reference_wrapper< const bke::AttributeFilter > attribute_filter

Detailed Description

General options for realize_instances.

Definition at line 18 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 36 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 25 of file GEO_realize_instances.hh.

◆ preserve_normals

bool blender::geometry::RealizeInstancesOptions::preserve_normals = false

Reverse face winding for mesh instances with negative-determinant transforms.

Definition at line 34 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 30 of file GEO_realize_instances.hh.

◆ realize_to_point_domain

bool blender::geometry::RealizeInstancesOptions::realize_to_point_domain = true

Propagate instance attributes to the point domain rather than the curve domain.

Definition at line 32 of file GEO_realize_instances.hh.


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