DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
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 > IAppearance_DG Search Documentation


IAppearance_DG Interface

SetColor
GetColor
GetPointWidth
SetPointWidth

IAppearance_DG gives access to the generic (base) appearance object of an entity. It can be used directly to change attributes of 0-dimentional entities which consist of a single point or a set (array/list) of points.

Objects with 1-dimensional geometry

Objects with surface also implement IMaterial, which can be queried from this interface, which exposes more attributes.

IAppearance_DG is returned by IEntity_DG.GetAppearance()

See also: IMaterial

void SetColor(float red, float green, float blue)


void GetColor([out] float red, [out] float green, [out] float blue)


float GetPointWidth()


void SetPointWidth(float width)