Share

Autodesk.AutoCAD.GraphicsInterface.ChannelFlags Enumeration

Description

This .NET class wraps the ChannelFlags ObjectARX class. It's an enumeration of Material Channels in use.

C#

public enum ChannelFlags {
  None = 0,
  UseAll = 0x3f,
  UseBump = 0x10,
  UseDiffuse = 1,
  UseOpacity = 8,
  UseReflection = 4,
  UseRefraction = 0x20,
  UseSpecular = 2
}

Visual Basic

Public Enum ChannelFlags
  None = 0
  UseAll = &H3f
  UseBump = &H10
  UseDiffuse = 1
  UseOpacity = 8
  UseReflection = 4
  UseRefraction = &H20
  UseSpecular = 2
End Enum

Members

Members Description
None = 0 No Material Channels.
UseAll = 0x3f All Material Channels in use: UseDiffuse, UseSpecular,UseReflection, UseOpacity, UseBump and UseRefraction.
UseBump = 0x10 Bump component of the material.
UseDiffuse = 1 Diffuse component of the material.
UseOpacity = 8 Opacity component of the material.
UseReflection = 4 Reflection component of the material.
UseRefraction = 0x20 Refraction component of the material.
UseSpecular = 2 Specular component of the material.

Was this information helpful?