DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Expand ModelsModels
Expand DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand ViewsViews
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > Appearence > IMaterial_DG Go to DGKC docs Search Documentation


IMaterial_DG Interface

Access to atributes of material.

IMaterial_DG can obtained via IEntity_DG > GetAppearance() > IMaterial_DG.

Implements also: IAppearance_DG, ITexture_DG.

See also Object Array Sample, Interface List

Properties

float Shininess
bool UseForWire
Color WireFrameColor
bool LightingEnabled
bool UseGlobalWireColor

Methods

GetColor
SetColor

Color GetColor(LightComponent_DG component)


void SetColor(LightComponent_DG component, Color clr)