RibbonNode

consoledoc.h

More...

Public Static Attributes

bool

Disables rendering of all instances of this type.

bool

Disables selection of all instances of this type.

Public Attributes

bool

Controls whether ribbon is emitted from this node.

Datablock to use for the ribbon.

Public Functions

void
setActive(bool active)

Turns the ribbon on or off.

void
setRibbonDatablock(RibbonData ribbonDatablock)

Assigns the datablock for this ribbon node.

Detailed Description

Public Static Attributes

bool isRenderable 

Disables rendering of all instances of this type.

bool isSelectable 

Disables selection of all instances of this type.

Public Attributes

bool active 

Controls whether ribbon is emitted from this node.

RibbonData Ribbon 

Datablock to use for the ribbon.

Public Functions

setActive(bool active)

Turns the ribbon on or off.

Parameters:

active

New ribbon state

setRibbonDatablock(RibbonData ribbonDatablock)

Assigns the datablock for this ribbon node.

Parameters:

ribbonDatablock

RibbonData datablock to assign

// Assign a new emitter datablock
%emitter.setRibbonDatablock( %ribbonDatablock );