Minetest  5.4.0
ItemPartColor Struct Reference

#include <wieldmesh.h>

Public Member Functions

 ItemPartColor ()=default
 
 ItemPartColor (bool override, video::SColor color)
 

Public Attributes

bool override_base = false
 
video::SColor color = 0
 

Detailed Description

Holds color information of an item mesh's buffer.

Constructor & Destructor Documentation

◆ ItemPartColor() [1/2]

ItemPartColor::ItemPartColor ( )
default

◆ ItemPartColor() [2/2]

ItemPartColor::ItemPartColor ( bool  override,
video::SColor  color 
)
inline

Member Data Documentation

◆ color

video::SColor ItemPartColor::color = 0

The color of the buffer.

◆ override_base

bool ItemPartColor::override_base = false

If this is false, the global base color of the item will be used instead of the specific color of the buffer.


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