Table of Contents

Component Editor

Methods Properties Base Classes Derived Classes
RayCast ArchetypeSelect component
Constructor Raycaster
SmartSelect RootSelect
SmartGroupSelect

Properties


ArchetypeSelect : boolean

Selects the root archetype of the tree, subsequent clicks will select the nearest archetype followed by any direct children following that.

var ArchetypeSelect : Boolean

Raycaster : raycaster

var Raycaster : Raycaster

RootSelect : boolean

Selects the root of a hierarchy first, subsequent clicks will select children objects.

var RootSelect : Boolean

SmartGroupSelect : boolean

If a parent of a hierarchy is already selected drag select will only select all the children of the currently selected parent.

var SmartGroupSelect : Boolean

Methods


RayCast : cog

Name Type Description
viewport viewport
mousePosition real2
function RayCast(viewport : Viewport, mousePosition : Real2) : Cog

SelectTool : Void

constructor

Constructor. |Name|Type|Description| |---|---|---|

function SelectTool()

SmartSelect : cog

static

Name Type Description
selection metaselection
toSelect cog
rootSelect boolean
archetypeSelect boolean
function SmartSelect(selection : MetaSelection, toSelect : Cog, rootSelect : Boolean, archetypeSelect : Boolean) : Cog