FBSet Class Reference


Detailed Description

Objects Set class.

This class is an interface to manipulate object sets in the scene. Note: an item cannot be in two FBSet objects at once. Also, an FBGroup cannot contain FBSet objects, although an FBSet object can contain an FBGRoup.

Inheritance diagram for FBSet:

List of all members.

Public Member Functions

 __init__ (str pName, object pObject=None)
 Constructor.
 FBDelete ()
 Virtual FBDelete function.
 Select (bool pSelect)
 Select.
int Contains (FBComponent pComponent)
 Contains.

Public Attributes

FBPropertyBaseAnimatable Visibility
 Read Write Property: Visibility of set (animatable).
FBPropertyBase Pickable
 Read Write Property: Controls if objects in the set are pickable.
FBPropertyBase Transformable
 Read Write Property: Controls if objects in the set are transformable.
FBPropertyListComponent Items
 List: Items in the set.

Member Function Documentation

__init__ ( str  pName,
object  pObject = None 
)

Constructor.

Parameters:
pNameSet name.
pObjectFor internal use only.

Reimplemented from FBBox.

FBDelete ( )

Virtual FBDelete function.

Examples
Tasks/DeleteHierarchy.py

Reimplemented from FBComponent.

Select ( bool  pSelect)

Select.

Parameters:
pSelectIf true, set contents will be selected.
int Contains ( FBComponent  pComponent)

Contains.

Parameters:
pComponentComponent to verify if it is in the Group
Returns:
0 if the component is not in the FBSet, 1 if it is in this FBSet, 2 if it is in another FBSet

Member Data Documentation

FBPropertyBaseAnimatable Visibility

Read Write Property: Visibility of set (animatable).

FBPropertyBase Pickable

Read Write Property: Controls if objects in the set are pickable.

FBPropertyBase Transformable

Read Write Property: Controls if objects in the set are transformable.


FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet
FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet FBSet