vrMaterialTypes

class vrMaterialTypes
class MaterialType

Defines the type of a material.

Invalid

Invalid material type.

Phong

Phong material.

Plastic

Plastic material.

ReflectivePlastic

Reflective plastic material.

Chrome

Chrome material.

LineChrome

Line chrome material.

BrushedMetal

Brushed metal material.

UnicolorCarpaint

Unicolor carpaint material.

MetallicCarpaint

Metallic carpaint material.

FlipflopCarpaint

Flipflop carpaint material.

Glass

Glass material.

XRay

XRay material.

Carbon

Carbon material.

Carbon2D

Carbon 2D material.

Tire

Tire material.

Velvet

Velvet material.

WovenCloth

Woven cloth material.

Substance

Substance material.

XRite

X-Rite material.

OCS

OCS material.

Shadow

Shadow material.

LightPortal

Light portal material.

MultiPass

Multipass material.

Layered

Layered material.

Switch

Switch material.

SphereEnvironment

Sphere environment material.

Skylight

Skylight material.

EnvironmentSwitch

Environment switch material.

SubstancePanorama

Substance panorama material.

MDL

MDL material.

MaterialX

MaterialX material.

VolumeScatter

Volume scatter material.

OpenVDBVolume

OpenVDB material.

Chunk

Chunk material.

class MergeOptions

Defines options for merging materials.

Default

Default: compare name and skip Switch materials and merge all other material types including X-Rite.

IgnoreName

Do not compare the name of the material, i.e., materials with different names can be merged. NOTE: Merging materials with different names might break existing variant sets with material variants, as these are name-based.

IncludeSwitchMaterials

Also merge Switch materials. When not setting this option, switch materials are excluded from the merge operation.

ExcludeXRiteMaterials

Do not merge X-Rite materials. When setting this option, X-Rite materials are excluded from the merge operation.