Detailed Description

Groups

 SCULPT
 

Classes

class  SculptLayerData
 
class  SculptLayerBase
 
class  SculptLayer
 
class  SculptFolder
 
class  SculptLayerSystem
 
struct  SculptHitData
 
class  SculptObject
 
class  SculptTag
 

Macros

#define LIBRARY_SCULPT
 

Functions

SculptObjectGetSelectedSculptObject (BaseDocument *doc, Bool includeHiddenObjects=false)
 
SculptObjectMakeSculptObject (PolygonObject *poly, BaseDocument *doc, Bool addUndo=false)
 
Bool IsObjectEnabled (BaseObject *pObject)
 
void EnsureSculptObjectReady (PolygonObject *obj, BaseDocument *doc)
 

Macro Definition Documentation

◆ LIBRARY_SCULPT

#define LIBRARY_SCULPT

Sculpt library ID.

Function Documentation

◆ GetSelectedSculptObject()

SculptObject* GetSelectedSculptObject ( BaseDocument doc,
Bool  includeHiddenObjects = false 
)

Gets the currently selected SculptObject in the document. This is the first selected PolygonObject that has a SculptTag.

Parameters
[in]docThe document to search. The caller owns the pointed document.
[in]includeHiddenObjectstrue to include selected hidden objects.
Returns
The SculptObject that the SculptTag references.

◆ MakeSculptObject()

SculptObject* MakeSculptObject ( PolygonObject poly,
BaseDocument doc,
Bool  addUndo = false 
)

Adds a SculptTag to the PolygonObject if one does not exist then return the SculptObject that the newly created SculptTag references.

Parameters
[in]polyThe PolygonObject to add the SculptTag to. The caller owns the pointed PolygonObject.
[in]docThe document that the PolygonObject belongs to. The caller owns the pointed document.
[in]addUndoIf true then an undo event will be added so that the addition of the SculptTag can be undone.
Returns
The SculptObject that the SculpTag references.

◆ IsObjectEnabled()

Bool IsObjectEnabled ( BaseObject pObject)

Checks if an object is currently visible in the viewport.

Parameters
[in]pObjectThe object to check. The caller owns the pointed object.
Returns
true if the object is enabled in the editor viewport, otherwise false.

◆ EnsureSculptObjectReady()

void EnsureSculptObjectReady ( PolygonObject obj,
BaseDocument doc 
)

Ensures that a copy a PolygonObject that has a SculptTag on it is initialized correctly straight after adding it to a document.

Parameters
[in]objThe PolygonObject that has the SculptTag. The caller owns the pointed PolygonObject.
[in]docThe document the object belongs to. The caller owns the pointed document.