AGGeometryPrimitive / AGRenderPrimitive
base object for objects containing a geometry
{
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";
};
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.
Inherited from AGPrimitive.
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.