![]() |
![]() |
![]() |
![]() |
AltObject
Synopsis
a renderable object that contains data plus attributes
macro AltObject<locked=0> {
group &alt_in<NEportLevels={2,1},NEnumColors=4,
NEcolor0=0xff,NEy=132,NEx=55> {
GDxform_templ &xform;
method render;
};
DefaultProps+OPort Props<NEy=198,NEx=297>;
DefaultModes+OPort AltModes<NEy=165,NEx=341> {
mode = { GD_NO_POINTS, GD_NO_LINES, GD_NO_SURF,
GD_NO_VOLUME, GD_BOUNDS };
};
DefaultObject+OPort Obj<NEy=385,NEx=110> {
input => alt_in;
props => Props;
modes => AltModes;
};
olink obj<NEy=385,NEx=341> => Obj;
};Description
AltObject is a renderable object that contains the data to be rendered and other subobjects that contain the attributes that control how the data is rendered.This object is connected to the GD objects's alternate object input port. It controls the properties and modes that are used to render the alternate object when it is enabled. AltObject is included in the DataObject macro. DefaultProps to control color, material, line attributes, and geometrical attributes. DefaultModes to control point, line, surface, volume, and bounds rendering modes. DefaultObject to control visibility, pickability, caching, transform mode, surface conversion, and image display attributes.
Input
The data to be rendered. This can be any group that includes the following subobjects: GDxform_templ xform; // Transform. method render; // Render method
Output Port
Example
See DataObject .
File
See also related modules
![]() |
![]() |
![]() |
![]() |