TOC PREV NEXT INDEX

AGGeometryPrimitive / AGRenderPrimitive

Synopsis

base object for objects containing a geometry

AGPrimitive AGGeometryPrimitive
{
AGGeometry geometry;
     prim isRenderable<NEvisible=0, export=0>;
};
AGPrimitive AGRenderPrimitive
{
prim isRenderable<NEvisible=0, export=0>;

// These are the virtual functions for the 2D camera
data_method+virtual render = "AGRenderer";
data_method+virtual pick = "AGPicker";
};

Description

The AGGeometryPrimitive is the base object for any object in the AG Kit that contains a geometry and a render/pick method. The virtual render and pick methods are defined through a match with AGRenderPrimitive using the variable isRenderable.

Subobjects

visibility

priority

Inherited from AGPrimitive.

geometry

The geometry of the object given as XY coordinate pairs. The address space (world coordinate system) is given by the parent at draw time.
If AGGeometryPrimitive or AGRenderPrimitive connects to an AGDataObject, transformations apply to the geometry.

Example

Not Available

File

v/AG.v

See Also Related Modules

AGDataObject
AGPrimitive

TOC PREV NEXT INDEX