Share via


ColorMaterial Class

Definition

A material that doesn't get any lighting applied.

public ref class ColorMaterial : Microsoft::Azure::RemoteRendering::Material
public class ColorMaterial : Microsoft.Azure.RemoteRendering.Material
type ColorMaterial = class
    inherit Material
Public Class ColorMaterial
Inherits Material
Inheritance
ColorMaterial

Properties

AlbedoColor

Constant albedo color.

AlbedoTexture

The Texture used for the albedo color. Pass in null if no dedicated texture is needed.

AlphaClipThreshold

Threshold that is used for alpha cutouts.

ColorFlags

The color material flags.

ColorTransparencyMode

Transparency mode for this material. See ColorTransparencyMode for details.

FadeOut

Fade-out value in the [0..1] range, where 0.0 means fully faded out and 1.0 means fully opaque.

FresnelEffectColor

The Fresnel effect color used when the effect is enabled (see the 'FresnelEffect' flag in ColorMaterialFeatures)

FresnelEffectExponent

The Fresnel effect exponent used when the effect is enabled (see the 'FresnelEffect' flag in ColorMaterialFeatures)

InternalId

Only used for testing

(Inherited from ResourceBase)
InteropId

Only used for testing

(Inherited from ResourceBase)
MaterialSubType

Which kind of material this is.

(Inherited from Material)
Name

The name of this material.

(Inherited from Material)
TexCoordMode

Defines the mode that is used to produce texture coordinates for the albedo texture. This mode is ignored if this material does not use a texture. See TextureCoordinateGenerationMode for the supported modes.

TexCoordOffset

Constant offset added to texture input Uv coordinates.

TexCoordPlaneU

The plane that is used to calculate the u-portion of the texture coordinates in either PlanarObjectSpace or PlanarWorldSpace mode.

TexCoordPlaneV

The plane that is used to calculate the v-portion of the texture coordinates in either PlanarObjectSpace or PlanarWorldSpace mode.

TexCoordScale

Scaling factors for texture input Uv coordinates.

Type

The exact type of this resource.

(Inherited from Material)
Valid

Whether this resource is still valid.

(Inherited from Material)
VertexMix

How much the vertex color is mixed into the final color. In [0..1] range.

Methods

AsToolingObject<ToolingObject>()

Only used for testing

(Inherited from ResourceBase)
CopyFrom(Material)

Copies material properties from another material.

(Inherited from Material)
Equals(Object) (Inherited from ResourceBase)
GetHashCode() (Inherited from ResourceBase)

Applies to

See also