AR_Engine_SDK
|
Functions | |
function XFaceRigSetting | new () end |
@type XCOLORBASE More... | |
function XFaceRigSetting | Load (strFilePath) end |
function XFaceRigAnim | new (pModelIns) end |
function XFaceRigAnim | LoadSettingFile (strFileName) end |
function XFaceRigAnim | TickFaceRigParam (param, bClearAllBeforeApply) end |
function XFaceRigAnim | ReGenerateFaceRigInfo (bGenerateWeight, bGenerateChannelIndexBySetting) end |
function XFaceRigAnim | SetFaceRigBlendWeight (fBlendWeight) end |
function XFaceRigAnim | GetFaceRigBlendWeight () end |
function XFaceRigAnim | ReBindBoneControllerToSkinmodelInsSkeleton () end |
function XFaceRigAnim | ReSetFaceRigParam () end |
function XFaceRigAnim | UnbingBoneController () end |
function XFaceRigAnim | SetRotateModelOfNoBoneControl (bEnable) end |
function XFaceRigAnim | GetRotateModelOfNoBoneControl () end |
Variables | |
xFaceRigBoneControl = {} | |
xFaceRigBoneControl | strBoneName = '' |
@type string More... | |
xFaceRigBoneControl | fWeight = 0 |
@type number More... | |
XFaceRigSetting = {} | |
function XFaceRigAnim GetFaceRigBlendWeight | ( | ) |
获取FaceRig融合权重值
function XFaceRigAnim GetRotateModelOfNoBoneControl | ( | ) |
当没有配置骨头时,左右摆动,判断是否直接摆动模型
function XFaceRigSetting Load | ( | strFilePath | ) |
XFaceRigSetting_Load00
strFilePath | string |
function XFaceRigAnim LoadSettingFile | ( | strFileName | ) |
加载设置文件
strFileName | string 文件名称 |
function xes__Acceleration new | ( | ) |
@type XCOLORBASE
@type number 刚体类型
@type number 静摩擦系数
@type XEMeshAppliqueComponent::XEAppliqueInfo
@type XEGameplayAbilitySpecHandle 索引
@type XEUtility::MaterialKey
@type number
@type boolean
@type string
XFaceRigSetting_new00
FaceRigParam_new00
xFaceRigControllerInfo_new00
XPFCtrlElement_new00
XPinchParam_new00
X2DRevoluteJointDesc_new00
X2DPrismaticJointDesc_new00
X2DDistanceJointDesc_new00
X2DPulleyJointDesc_new00
X2DMouseJointDesc_new00
X2DGearJointDesc_new00
X2DWheelJointDesc_new00
X2DWeldJointDesc_new00
X2DFrictionJointDesc_new00
X2DRopeJointDesc_new00
X2DMotorJointDesc_new00
X2DFilter_new00
X2DFixtureDesc_new00
XClothTetherConfig_new00
XLinearConstraint_new00
XConeConstraint_new00
XTwistConstraint_new00
XUIEditBoxDelegate_new00
XUIEditBoxDelegateLambda_new00
XUISysFontDef_new00
XUIGuidePage_new00
XUIIMFConfig_new00
XUILayoutParameter_new00
XUILinearLayoutParameter_new00
XUIRelativeLayoutParameter_new00
XUIRadioButtonGroup_new00
XUIRichElementText_new00
XUIRichElementImage_new00
XUIRichElementCustomNode_new00
XUIRichElementNewLine_new00
XUIRichText_new00
XUITextureCache_new00
XHSVCOLORBASE_new00
XBaseVertex_new00
XSkinMeshVertex_new00
XBlendShapeMeshVertex_new00
IXBrushManager_BrushInitParam_new00
XCusAABB_new00
XCusPlane_new00
XCusSPlane_new00
XCusCapsule_new00
XCusCylinder_new00
@type number @type XVECTOR3 @type XVECTOR3 @type number @type number @type number @type number XSpotLightDesc_new00
@type number @type string @type number XMaterialSupportMacro_new00
XRAYTRACERT_new00
XOutputVertexTransform_new00
@type boolean @type XRectI @type XRectI @type IXTexture2D XSubviewBackgroundFillParam_new00
@type string @type boolean @type number @type number @type boolean @type number @type boolean @type boolean @type XSubviewBackgroundFillParam @type IXPrimitiveBase[] @type IXLightBase[] @type XBaseCamera XSubviewParamDesc_new00
IXModelInstance_new00
XOrthoCamera_new01
IXRenderSystemBase_new00
XSkinData_XLOD_new00
@type number @type number @type number @type number @type XVECTOR3 @type XVECTOR3 @type XVECTOR3 @type XVECTOR3 @type XVECTOR3 @type XVECTOR3 @type number @type XVECTOR2 @type number @type number @type number @type boolean @type XEActor @type XEActorComponent @type XECollisionChannelMeta XEHitResult_new00
XETreeNode_Manager_new00
@type XSkin @type IXMaterialInstance @type XMaterialSupportMacro @type XMaterialParamDescInfo @type XMaterialParamTypeValue @type boolean XEUtility_MaterialInfo_new00
XEParamExtendPlayer_new00
XEDummyActor_new00
XETriggerBaseActor_new00
@type boolean stand by ability @type string using path to generate the actual ability. XEAbilitySystemComponent_new00
@type XEGameplayEventData @type boolean XEAbilitySystemComponent_XEPendingAbilityInfo_new00
XEAbilitySystemComponent_XEExecutingAbilityInfo_new00
XEAnimatableFaceRigComponent_FaceRigAnimController_new00
XEAnimatableModelComponent_new00
XEAnimatableModelComponent_ModelAnimController_new00
@type number @type number[] XEMeshAppliqueComponent_XEMeshAppliqueOperater_new00
@type number @type number @type XEModelComponent @type string @type number @type XEMeshAppliqueOperater[] XEMeshAppliqueComponent_XEAppliqueOperater_new00
XEMeshAppliqueComponent_new00
XEPinchSkeletonComponent_PinchParamCurMinMaxStep_new00
XEVideoMultiLayer_new00
@type string @type boolean layer whether actived or not. XESceneARAdsVideoComponent_VideoLayerData_new00
XESceneARAdsVideoComponent_new00
XEAnimComponentPlayList_Listener_new00
XEAnimComponentPlayList_AnimWrapper_new00
XEAnimControllerBase_new00
XEAnimFlyCurveControllerManager_new00
@type number 动摩擦系数 @type number 弹性系数 XEBindSocket_XEPhysicsMaterial_new00
@type boolean 是否开启重力影响 @type number 线速度阻尼系数, [0, X_MAX_FLT32] @type number 角速度阻尼系数, [0, X_MAX_FLT32] @type number 物体质量,单位kg @type boolean 是否开启了CCD属性(仅当Type为Dynamic时有效),高速物体应开启CCD来避免隧穿效应 @type XVECTOR3 线速度 @type XVECTOR3 角速度 @type XEBindSocket::XEPhysicsMaterial 物理材质属性 XEBindSocket_XEPhysicsInfo_new00
XEMovementAttacher_MoveableComponent_new00
@type AddedSkin[] @type string[] IXEDressupManager_new00
XESubview_SubviewPrimitive_new00
XEProjectileGameplayAbilityInstance_AbilitySocketEffect_new00
XEProjectileGameplayAbilityInstance_AbilityEffect_new00
XEProjectileGameplayAbilityInstance_ImpactEffect_new00
@type string @type number @type XEMaterialFxInstance XEMatFxBindingManager_MaterialFxInsMapping_new00
@type XEClothParam[] XEPhysicsClothConfig_XEClothParam_new00
StandbyAnimation_new00
FaceExpression_new00
GestureExpression_new00
SpinchToScale_new00
PressToDrag_new00
TapToPlace_new00
TapToPlay_new00
XEParamExtendMobileUtilConfig_new00
XEFaceTrackerActor_new00
XEImg2DScreenSequenceFrameActor_new00
XEMagicCoreActorComponentFactoryManager_new00
XEMagicCoreUserNodeFactoryManager_new00
XEFilterThinFace_new00
XEFilterUtility_XEVaraintVertex_ElementDesc_new00
XEGraphBuilderSelector_new00
XEMagicCore_XEObjectEntity_new00
XEMagicCore_XEBodyJoint_new00
XEMagicCore_XEBodyEntity_new00
XEMagicCore_XEDetectParam_new00
@type number[] thin face XEMagicCore_XECVWarpParams_new00
XEMagicCore_FxListener_new00
AR_XEARPlaneAnchor_new00
xes_Object_new00
xes_Size_new00
xes_Rect_new00
xes_Attitude_new00
xes_Acceleration_new00
function XFaceRigAnim new | ( | pModelIns | ) |
function XFaceRigAnim ReBindBoneControllerToSkinmodelInsSkeleton | ( | ) |
以覆盖的方式,将当前anim动画的,骨头控制,绑定到骨架上。
function XFaceRigAnim ReGenerateFaceRigInfo | ( | bGenerateWeight | , |
bGenerateChannelIndexBySetting | |||
) |
重新生成morph weight 和由配置信息生成channel对应关系 当前模型skin有增删除时,weight、channel等记录需要重新生成;
bGenerateWeight | boolean 是否重新生成morphweight,默认为true |
bGenerateChannelIndexBySetting | boolean 是否由配置信息生成channel对应关系,默认为true |
function XFaceRigAnim ReSetFaceRigParam | ( | ) |
重置FaceRigParam参数
function XFaceRigAnim SetFaceRigBlendWeight | ( | fBlendWeight | ) |
设置FaceRig融合权重值
fBlendWeight | number 融合权重值 |
function XFaceRigAnim SetRotateModelOfNoBoneControl | ( | bEnable | ) |
当没有配置骨头时,左右摆动,设置是否直接摆动模型
bEnable | boolean 设置是否直接摆动模型 |
function XFaceRigAnim TickFaceRigParam | ( | param | , |
bClearAllBeforeApply | |||
) |
function XFaceRigAnim UnbingBoneController | ( | ) |
去解绑骨头控制器,与skinmodel脱离关联
xFaceRigBoneControl fWeight = 0 |
@type number
xFaceRigBoneControl strBoneName = '' |
@type string
xFaceRigBoneControl = {} |
XFaceRigSetting = {} |