Sculpt 雕刻

| Library

详细描述

Groups

  SCULPT

Classes

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

Macros

#define  LIBRARY_SCULPT

函数

SculptObject GetSelectedSculptObject ( BaseDocument *doc, Bool includeHiddenObjects=false)
SculptObject MakeSculptObject ( 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 .

参数
[in] doc The document to search. The caller owns the pointed document.
[in] includeHiddenObjects true to include selected hidden objects.
返回
The SculptObject that the SculptTag references.

◆  MakeSculptObject()

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

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

参数
[in] poly The PolygonObject to add the SculptTag to. The caller owns the pointed PolygonObject .
[in] doc The document that the PolygonObject belongs to. The caller owns the pointed document.
[in] addUndo true then an undo event will be added so that the addition of the SculptTag can be undone.
返回
The SculptObject that the SculpTag references.

◆  IsObjectEnabled()

Bool IsObjectEnabled ( BaseObject pObject )

Checks if an object is currently visible in the viewport.

参数
[in] pObject The object to check. The caller owns the pointed object.
返回
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.

参数
[in] obj The PolygonObject that has the SculptTag . The caller owns the pointed PolygonObject .
[in] doc The document the object belongs to. The caller owns the pointed document.

Copyright  © 2014-2025 乐数软件    

工业和信息化部: 粤ICP备14079481号-1