Skip to content
On this page

class SelectionSet

SelectionSet is a set of scene node GUIDs referencing scene nodes in a scene.

Properties

PropertyDescription
NameThe name of the SelectionSet object. (Inherited from Object)

Methods

MethodDescription
AddHierarchyAdds the ids of this node and its children from this selectionset recursively.
AddItemAdds a node id to the set.
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
ClearClears the set.
GetClassGet the name of the SelectionSet class. (Inherited from Object)
GetItemReturns the node id in the i:th place in the set.
GetItemCountThe number of items in the set.
IsAReturns true if SelectionSet is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the SelectionSet object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the SelectionSet object is valid. (Inherited from Object)
NonNullReturns true if the SelectionSet object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the SelectionSet object to the log. (Inherited from Object)
RemoveHierarchyRemoves the ids of this node and its children from this selectionset recursively.
RemoveItemRemoves an node id from the set.
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spSelectionSet, and if this is the case, returns the object cast into spSelectionSet. (Inherited from Object)

Properties details

Name

The name of the SelectionSet object. (Inherited from Object)

Methods details

AddHierarchy

Adds the ids of this node and its children from this selectionset recursively.

AddItem

Adds a node id to the set.

AddObserver

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

Clear

Clears the set.

GetClass

Get the name of the SelectionSet class. (Inherited from Object)

GetItem

Returns the node id in the i:th place in the set.

GetItemCount

The number of items in the set.

IsA

Returns true if SelectionSet is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull

Returns true if the SelectionSet object is invalid. (Inherited from Object)

IsSameObjectAs

Returns true if the SelectionSet object is valid. (Inherited from Object)

NonNull

Returns true if the SelectionSet object is valid. (Inherited from Object)

PrintInfo

Prints the content/info of the SelectionSet object to the log. (Inherited from Object)

RemoveHierarchy

Removes the ids of this node and its children from this selectionset recursively.

RemoveItem

Removes an node id from the set.

RemoveObserver

Removes a previously added observer object. (Inherited from Object)

Static methods details

IsClassA

Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)

SafeCast

SafeCast makes sure the input object is of a class that can be cast into spSelectionSet, and if this is the case, returns the object cast into spSelectionSet. (Inherited from Object)