Blender V4.3
blender::bke::attribute_math::float4x4Mixer Class Reference

#include <BKE_attribute_math.hh>

Public Member Functions

 float4x4Mixer (MutableSpan< float4x4 > buffer)
 
 float4x4Mixer (MutableSpan< float4x4 > buffer, const IndexMask &mask)
 
void set (int64_t index, const float4x4 &value, float weight=1.0f)
 
void mix_in (int64_t index, const float4x4 &value, float weight=1.0f)
 
void finalize ()
 
void finalize (const IndexMask &mask)
 

Detailed Description

Definition at line 521 of file BKE_attribute_math.hh.

Constructor & Destructor Documentation

◆ float4x4Mixer() [1/2]

blender::bke::attribute_math::float4x4Mixer::float4x4Mixer ( MutableSpan< float4x4 > buffer)

Definition at line 202 of file attribute_math.cc.

◆ float4x4Mixer() [2/2]

blender::bke::attribute_math::float4x4Mixer::float4x4Mixer ( MutableSpan< float4x4 > buffer,
const IndexMask & mask )
Parameters
maskOnly initialize these indices. Other indices in the buffer will be invalid.

Definition at line 207 of file attribute_math.cc.

Member Function Documentation

◆ finalize() [1/2]

void blender::bke::attribute_math::float4x4Mixer::finalize ( )

Definition at line 232 of file attribute_math.cc.

References finalize().

Referenced by finalize().

◆ finalize() [2/2]

void blender::bke::attribute_math::float4x4Mixer::finalize ( const IndexMask & mask)

◆ mix_in()

void blender::bke::attribute_math::float4x4Mixer::mix_in ( int64_t index,
const float4x4 & value,
float weight = 1.0f )

Definition at line 224 of file attribute_math.cc.

References blender::math::to_quaternion(), and blender::math::to_scale().

◆ set()

void blender::bke::attribute_math::float4x4Mixer::set ( int64_t index,
const float4x4 & value,
float weight = 1.0f )

The documentation for this class was generated from the following files: