VegaRise.NET
Back to DOM

PresetMaterialTypeValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies a preset material used by 3-D effects to determine how lighting interacts with the surface.

Remarks

Used by . The modern values (Matte, Plastic, Metal, WarmMatte, TranslucentPowder, Powder, DarkEdge, SoftEdge, Clear, Flat, SoftMetal, None) replace the legacy variants (LegacyMatte, LegacyPlastic, LegacyMetal, LegacyWireframe). Effect3D.PresetMaterialType

Examples

csharp
1// 1. Matte surface
2var effect = new Effect3D { PresetMaterialType = PresetMaterialTypeValues.Matte };
3
csharp
1// 2. Metal surface
2var effect = new Effect3D { PresetMaterialType = PresetMaterialTypeValues.Metal };
3
csharp
1// 3. Plastic surface
2var effect = new Effect3D { PresetMaterialType = PresetMaterialTypeValues.Plastic };
3
csharp
1// 4. No material
2var effect = new Effect3D { PresetMaterialType = PresetMaterialTypeValues.None };
3

Fields

Clear

Clear (transparent) material.

DarkEdge

Dark-edge material.

Flat

Flat (unlit) material.

LegacyMatte

Legacy matte material.

LegacyMetal

Legacy metal material.

LegacyPlastic

Legacy plastic material.

LegacyWireframe

Legacy wireframe material.

Matte

Matte material.

Metal

Metal material.

None

No material.

Plastic

Plastic material.

Powder

Powder material.

SoftEdge

Soft-edge material.

SoftMetal

Soft-metal material.

TranslucentPowder

Translucent powder material.

WarmMatte

Warm matte material.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.