DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > DG Kernel Components > Programmatic Functionality > Model Properties Search Documentation


Properties

TextureArray
LightSourceArray
FlatObjectArray

Property is an alternative to QueryInterface() way to obtain access to some generic interfaces. Property is an interface, which in addition to the interface type or interface id can be obtained by its specific name via IPropertyArray interface. 

In this release all properties are arrays themselves (interfaces of type IArray), which may be confusing. So practically property is a method to distinguish between different IArray interfaces implemented by the object. 

See also IPropertyArray, IArray Interface, Interface List

Properties of a model

These properties can be accessed via IPropertyArray or IPropertyArray2 interfaces queried from IModel_DG.

Property name Returned interface type Type of elements in returned array  Details
TextureArray IArray ITexture TextureArray
LightSourceArray IArray ILightSource LightSourceArray
FlatObjectArray IArray ISection FlatObjectArray

Properties of an object

These properties can be accessed via IPropertyArray or IPropertyArray2 interfaces queried from IEntity_DG

Property name Returned interface type Type of elements in returned array  Details
TextureArray IArray ITexture TextureArray
LightSourceArray IArray ILightSource LightSourceArray
Items IArray2 IText Labels
BoundingBox IBox N/A