◆
~PaintView()
成员函数文档编制
◆
Free()
Destructs
PaintView
instances allocated with Alloc(). Use
AutoAlloc
to automate the allocation and destruction based on scope.
-
参数
-
[in]
|
p
|
The
PaintView
instance to destruct. If the pointer is
nullptr
nothing happens. The pointer is assigned
nullptr
afterwards.
|
◆
GetShowMesh()
Gets the "View > Show UV Display" option status for the view.
-
参数
-
[out]
|
showMesh
|
Assigned
true
if enabled, otherwise
false
.
|
-
返回
-
true
if successful, otherwise
false
.
◆
SetShowMesh()
Sets the "View > Show UV Display" option status for the view.
-
参数
-
[in]
|
showMesh
|
true
to enable the option.
|
-
返回
-
true
if successful, otherwise
false
.
◆
GetShowMeshWireframe()
Bool
GetShowMeshWireframe
|
(
|
Bool
&
|
showMesh
|
)
|
|
Gets the "View > Show UV Mesh" option status for the view.
-
参数
-
[out]
|
showMesh
|
Assigned
true
if enabled, otherwise
false
.
|
-
返回
-
true
if successful, otherwise
false
.
◆
SetShowMeshWireframe()
Bool
SetShowMeshWireframe
|
(
|
Bool
|
showMesh
|
)
|
|
Sets the "View > Show UV Mesh" option status for the view.
-
参数
-
[in]
|
showMesh
|
true
to enable the option.
|
-
返回
-
true
if successful, otherwise
false
.
◆
SetContextFromSelection()
Bool
SetContextFromSelection
|
(
|
|
)
|
|
Updates the view context with the current selection.
-
返回
-
true
if successful, otherwise
false
.
◆
FitToScreen()
Applies the "View > Fit to Screen" feature.
-
返回
-
true
if successful, otherwise
false
.