Provides script language access to C++ objects of this type.
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AddAction | This option is undocumented at present. |
int32 | AddNode | Adds a <Node> to the scene graph beneath the specified parent, and at the position specified. |
int32 | DeleteNode | Deletes a <Node> from the scene graph, along with its child <Node> objects. |
int32 | DeleteNodes | Deletes the <Node> objects in the <NodeBuffer> submitted to this function. |
int32 | Deselect | Deselects a <Node> in the scene graph. |
int32 | DeselectAll | Deselects all the selected <Node> objects in the scene graph. |
<Node> | EditNode | Returns a clone of a <Node> for editing purposes. Calling this function to get an editable <Node> is necessary if you want the editing actions to be undo-able, as well as redo-able. |
<Node> | EditSelect | Allows you to edit a <NodeSelect> object, to remove or add sub-geometry. |
<Material> | GetActiveMaterial | Returns a pointer to the active <Material> in the scene graph. |
<Mesh> | GetActiveMesh | Returns a pointer to the active <Mesh> in the scene graph. |
<Group> | GetActivePalette | Returns a pointer to the active palette <Group>. |
<Group> | GetActiveParent | Returns a pointer to the active parent in the scene graph. |
<DrawMode> | GetCurrentMode | Returns a DrawMode pointer to the current draw mode. |
<NodeSelect> | GetFirstSelectedNode | Gets a pointer to the first <Node> in the selection buffer. |
string | GetMode | Returns a string containing the GUID of the draw mode at the specified index. |
int32 | GetModeStackSize | Returns the number of drawing modes on the draw mode stack. |
<Type> | GetOpenAction | This option is undocumented at present. |
int32 | GetSelectBounds | Populates two <Vec> objects with the minimum and maximum 3D extents, or bounding box, of the selected objects. |
<Model3DSelectBuffer> | GetSelectBuffer | Returns a pointer to the selection buffer for the scene graph. |
int32 | GetSelectCount | Returns the count of selected <Node> objects in the scene graph. |
<NodeSelect> | GetSelectedNode | Returns a pointer to a specific, selected <Node> by its index in the selection buffer. |
<ModelTool> | GetTool | This option is undocumented at present. |
int32 | IsEmptySelection | Returns true if the selection is empty. Otherwise returns false. |
<NodeSelect> | IsFirstSelectedNodeTypeOf | Returns true if the first <Node> in the select buffer matches is of the indicated type. |
int32 | NextMode | Activates the next mode on the draw mode stack. |
int32 | ParentNode | Re-parents a <Node>. |
int32 | PopMode | Pops a drawing mode off the draw mode stack. |
int32 | PriorMode | Activates the previous mode on the draw mode stack. |
int32 | PushMode | Pushes a new draw mode onto the draw mode stack. |
int32 | Select | Selects a <Node> in the scene graph. |
int32 | SelectNS | Allows you to select a <NodeSelect> object in the scene graph. A <NodeSelect> may be a single <Node>, or it may contain nodes as well as sub-geometry. |
int32 | SetActiveMaterial | Sets a <Material> as the active <Material> in the scene graph. |
int32 | SetActiveMesh | Sets a <Mesh> as the active <Mesh> in the scene graph. |
int32 | SetActivePalette | Sets a <Group> as the active palette. |
int32 | SetActiveParent | Sets a <Group> as the active parent in the scene graph. |
int32 | UpdateViews | Refreshes all the rendered worksheet views. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<ModelView> | ActiveView | Gets the active worksheet. |
<Grid> | Grid | Returns a pointer to the Model's <Grid> object. |
ModelView[] | Views[ index ] | This member is an array of the rendered worksheet views currently in use. |
int32 | ViewCount | This member returns the number of rendered worksheet views currently in use. |