◆
~CAReferencePSD()
成员函数文档编制
◆
SetInterpolationMode()
Sets the auto weighting interpolation mode.
-
参数
-
◆
GetInterpolationMode()
Returns the auto weighting interpolation mode.
-
返回
-
The interpolation mode:
CAMORPH_PSDINTERPOLATION_MODE
◆
ForceJointAsDriver()
Forces the joint index to be a driver.
-
注意
-
If any of the joints is marked as a forced driver, only those are considered in automatic weighting.
-
参数
-
[in]
|
jointIndex
|
The weight tag joint index to use as driver.
|
[in]
|
forceDriver
|
true
if the joint is used as a driver, otherwise
false
.
|
◆
IsJointForcedAsDriver()
Bool
IsJointForcedAsDriver
|
(
|
Int32
|
jointIndex
|
)
|
const
|
Checks if the joint index is a user forced driver.
-
注意
-
If any of the joints is marked as a forced driver, only those are considered in automatic weighting.
-
参数
-
[in]
|
jointIndex
|
The weight tag joint index.
|
-
返回
-
true
if joint is forced as a driver, otherwise
false
.
◆
ClearAllForcedDrivers()
void ClearAllForcedDrivers
|
(
|
|
)
|
|
Removes all user defined joint as driver and let the system manage it automatically.
◆
RestoreReferencePose()
void RestoreReferencePose
|
(
|
|
)
|
|
Displays skeleton and user defined controller at the reference pose.
◆
UpdateReferencePose()
void UpdateReferencePose
|
(
|
|
)
|
|
Updates the current skeleton state as the PSD reference pose.
◆
ClearAllExternalControllers()
void ClearAllExternalControllers
|
(
|
|
)
|
|
Removes all external controllers assigned to the reference pose.
◆
GetExternalControllerCount()
Int32
GetExternalControllerCount
|
(
|
|
)
|
const
|
Returns the number of external controllers associated with the reference pose.
-
返回
-
The external controllers count.
◆
GetExternalController()
Returns the controller assigned to the given index.
-
参数
-
-
返回
-
The external controller.
◆
GetExternalControllerMatrix()
矩阵
GetExternalControllerMatrix
|
(
|
Int32
|
controllerIndex
|
)
|
const
|
Returns the matrix stored at the given index.
-
参数
-
-
返回
-
The external controller global matrix.
◆
SetExternalControllerMatrix()
Int32
SetExternalControllerMatrix
|
(
|
BaseObject
*
|
controller
,
|
|
|
const
矩阵
&
|
globalMatrix
|
|
)
|
|
|
Adds or adjusts the given controller global matrix to be part of the reference pose.
-
参数
-
[in]
|
controller
|
The object used as a controller. The caller owns the pointed
BaseObject
.
|
[in]
|
globalMatrix
|
The global matrix used as a reference.
|
-
返回
-
The index of the controller,
NOTOK
if invalid.
◆
RemoveExternalController()
Bool
RemoveExternalController
|
(
|
Int32
|
controllerIndex
|
)
|
|
Removes Controller at the given index.
-
参数
-
-
返回
-
true
if successful, otherwise
false
.