DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ControlDG Kernel Control
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 ActiveX 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
bool CastsShadows
bool ReceivesShadows

Methods

GetColor
SetColor
GetTexture
AttachTexture
AttachSurfaceTexture

Color GetColor(LightComponent_DG component)


void SetColor(LightComponent_DG component, Color clr)


ITexture_DG GetTexture(bool create)


void AttachTexture(ITexture_DG texture)


void AttachSurfaceTexture(IObject_DG surface, ITexture_DG texture)