편집

다음을 통해 공유


MDLMaterialSemantic Enum

Definition

Enumerates the semantics of an MDLMaterialProperty.

public enum MDLMaterialSemantic
type MDLMaterialSemantic = 
Inheritance
MDLMaterialSemantic

Fields

Name Value Description
BaseColor 0

The property represents the base color of a surface.

Subsurface 1

The property represents the degree of subsurface light penetration.

Metallic 2

The property represents the degree that a surface appears metallic.

Specular 3

The property represents the intensity of specular highligths.

SpecularExponent 4

The property represents the Blinn-Phong exponent.

SpecularTint 5

The property represents the balance between light color and surface color for specular highligts.

Roughness 6

The property represents the roughness of the material.

Anisotropic 7

The property represents the degree of elongation in the tangential direction.

AnisotropicRotation 8

The property represents the angle of anisotropy relative to the tangent direction. [0.0, 1.0] maps to [0.0, 2*PI] radians.

Sheen 9

The property represents the intensity of glancing highligths.

SheenTint 10

The property represents the tint of glancing highligths.

Clearcoat 11

The property represents the intensity of added specular highlights.

ClearcoatGloss 12

The property represents the spread of added specular highlights.

Emission 13

The property represents the color of surface radiance.

Bump 14

The property represents the magnitude of the bump perturbation of a surface.

Opacity 15

The property represents the opacity of the material.

InterfaceIndexOfRefraction 16

The property represents the n1 term in Schlick's approximation of the Fresnel factor in specular relection.

MaterialIndexOfRefraction 17

The property represents the n2 term in Schlick's approximation of the Fresnel factor in specular relection.

ObjectSpaceNormal 18

The property represents the variation in normal vectors for a material, in the tangent coordinate system.

TangentSpaceNormal 19

The property represents the variation in normal vectors for a material, in the tangent coordinate system.

Displacement 20

The property represents the displacement of a surface material in the normal direction.

DisplacementScale 21

The property represents the magnitude of the displacement of a surface material in the normal direction.

AmbientOcclusion 22

The property represents the reduction in ambient light due to neighboring geometry on a surface.

AmbientOcclusionScale 23

The property represents the scaling factor for ambient occlusion.

None 32768

The property's semantics have not been set.

UserDefined 32769

The property represents a user-defined semantic.

Applies to