SketchUp C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations
material.h File Reference

Interfaces for SUMaterialRef. More...

#include <SketchUpAPI/color.h>
#include <SketchUpAPI/common.h>
#include <SketchUpAPI/unicodestring.h>
#include <SketchUpAPI/model/defs.h>

Enumerations

enum  SUMaterialType { SUMaterialType_Colored, SUMaterialType_Textured, SUMaterialType_ColorizedTexture }
 Indicates material type. More...
 
enum  SUMaterialOwnerType { SUMaterialOwnerType_None, SUMaterialOwnerType_DrawingElement, SUMaterialOwnerType_Image, SUMaterialOwnerType_Layer }
 Indicates material owner type. More...
 
enum  SUMaterialColorizeType { SUMaterialColorizeType_Shift, SUMaterialColorizeType_Tint }
 Indicates material type. More...
 

Detailed Description

Interfaces for SUMaterialRef.

Enumeration Type Documentation

Indicates material type.

Since
SketchUp 2019.2, API 7.1
Enumerator
SUMaterialColorizeType_Shift 

Shifts the texture's Hue.

SUMaterialColorizeType_Tint 

Colorize the texture.

Indicates material owner type.

Since
SketchUp 2019.2, API 7.1
Enumerator
SUMaterialOwnerType_None 

Not owned.

SUMaterialOwnerType_DrawingElement 

Can be applied to SUDrawingElements.

SUMaterialOwnerType_Image 

Owned exclusively by an Image.

SUMaterialOwnerType_Layer 

Owned exclusively by a Layer.

Indicates material type.

Enumerator
SUMaterialType_Colored 

Colored material.

SUMaterialType_Textured 

Textured material.

SUMaterialType_ColorizedTexture 

Colored and textured material.