Blender V4.3
blender::animrig::BoneColor Class Reference

#include <ANIM_bonecolor.hh>

Inherits BoneColor.

Public Member Functions

 BoneColor ()
 
 BoneColor (const BoneColor &other)
 
 ~BoneColor ()
 
const ThemeWireColoreffective_color () const
 
bool operator== (const BoneColor &other) const
 
bool operator!= (const BoneColor &other) const
 
uint64_t hash () const
 

Additional Inherited Members

- Public Attributes inherited from BoneColor
int8_t palette_index
 
uint8_t _pad0 [7]
 
ThemeWireColor custom
 

Detailed Description

C++ wrapper for the DNA BoneColor struct.

Definition at line 25 of file ANIM_bonecolor.hh.

Constructor & Destructor Documentation

◆ BoneColor() [1/2]

BoneColor::BoneColor ( )

Definition at line 19 of file bonecolor.cc.

References BoneColor::palette_index.

◆ BoneColor() [2/2]

BoneColor::BoneColor ( const BoneColor & other)

Definition at line 23 of file bonecolor.cc.

References BoneColor::palette_index.

◆ ~BoneColor()

BoneColor::~BoneColor ( )

Definition at line 28 of file bonecolor.cc.

Member Function Documentation

◆ effective_color()

const ThemeWireColor * BoneColor::effective_color ( ) const

◆ hash()

uint64_t BoneColor::hash ( ) const

Definition at line 70 of file bonecolor.cc.

References blender::get_default_hash(), and BoneColor::palette_index.

◆ operator!=()

bool BoneColor::operator!= ( const BoneColor & other) const

Definition at line 65 of file bonecolor.cc.

◆ operator==()

bool BoneColor::operator== ( const BoneColor & other) const

Definition at line 44 of file bonecolor.cc.

References ThemeWireColor::flag, and BoneColor::palette_index.


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