AR_Engine_SDK
|
#include <XESubview.h>
变量 | |
SubviewPrimitive = {} | |
function XESubview AddAffectTextureParamName | ( | strTexParamName | ) |
设置子视图绑定体的材质实例受影响的纹理参数名称
strTexParamName | string |
function XESubview AddPrimitive | ( | sp | , |
bRestepSubview | |||
) |
function XESubview AddSubviewLight | ( | pLight | , |
bResetupSubview | |||
) |
function XESubview BindHolder | ( | sp | ) |
function XESubview BuildInnerCamera | ( | pCameraSource | ) |
function XESubview GetAliasName | ( | ) |
获取subview的别名
function XESubview GetCamera | ( | ) |
获取子视图的绑定相机(不区分是否为内部)
function XESubview GetInnerCamera | ( | ) |
获取子视图的内部相机对象
function XESubview GetName | ( | ) |
获取Subview的实际名称
function XESubview GetRenderTargetBuilder | ( | ) |
SubviewPrimitive_GetRenderTargetBuilder00
XESubview_GetRenderTargetBuilder00
function SubviewRenderTargetBuilder GetRenderTexture | ( | ) |
获取子视图的渲染纹理,内部管理,无需在外部释放
function SubviewRenderTargetBuilder GetRenderTextureName | ( | ) |
释放子视图名称
function SubviewPrimitive GetSubview | ( | ) |
SubviewPrimitive_GetSubview00
function XESubview GetSubviewParamDesc | ( | ) |
获取子视图的引擎对象描述
function XESubview GetSubviewPrimitiveGuest | ( | nIndex | ) |
function XESubview GetSubviewPrimitiveGuests | ( | ) |
获取当前子视图所有客体
function XESubview GetSubviewPrimitiveHolder | ( | ) |
获取持有体Primitive
function XESubview HasPrimitive | ( | sp | ) |
function SubviewPrimitive HasRenderAttribute | ( | eRA | ) |
SubviewPrimitive_HasRenderAttribute00
eRA | number |
function SubviewRenderTargetBuilder HasSubView | ( | ) |
是否已经存在sub-view渲染对象
function XESubview IsBindToHolder | ( | sp | ) |
function SubviewPrimitive IsCameraBuildInner | ( | ) |
SubviewPrimitive_IsCameraBuildInner00
function SubviewPrimitive IsGuest | ( | ) |
SubviewPrimitive_IsGuest00
function SubviewPrimitive IsHolder | ( | ) |
SubviewPrimitive_IsHolder00
function SubviewPrimitive IsHolderGuestDontCare | ( | ) |
SubviewPrimitive_IsHolderGuestDontCare00
function SubviewPrimitive IsOnlyRenderInSubview | ( | ) |
SubviewPrimitive_IsOnlyRenderInSubview00
function SubviewPrimitive IsRenderInSubview | ( | ) |
SubviewPrimitive_IsRenderInSubview00
function SubviewPrimitive IsRenderInViewport | ( | ) |
SubviewPrimitive_IsRenderInViewport00
function SubviewPrimitive IsRenderTextureInViewport | ( | ) |
SubviewPrimitive_IsRenderTextureInViewport00
function XESubview IsSubviewCameraTheInnerOne | ( | ) |
获取子视图的相机是否为内部相机
function XEMagicCore__XEMNNResultEntity IsValid | ( | ) |
@type number
@type number @readonly
子视图对象是否有效
XEFilterUtility_XEVaraintVertex_IsValid00
@type number original tracking id @type number may be changed at each frame. please provide this detail-meaning for the runnable module if necessary. @type XVECTOR4 you may probably use this to calculate the correct UVs. @type XVECTOR2 the original rect of the cv-frame, -1 means will keep the same with the viewport, usually is not valid. @type XMATRIX4 indicate that the matrix for the face, need to update every frame, don't change the sequence! @type XVECTOR3 new add @type XVECTOR3 face-rig euler angle @type number[] extend for landmarks, usually is the 96 extend to 104 @type number[] 104 for filter by zsx 2019.09.12 @type number[] 106 for makeup @type number[] 222 for makeup @type number[] 51 points for face-rig @type number[] @type number[] @type number[] skin_threshold_ @type XEFaceLiquefy[] face liquefy @type XEMagicCore::XEImageSegmentEntity @readonly face segment mask @type XEMagicCore::XEImageSegmentEntity @readonly mouth segment mask XEMagicCore_XEFaceEntity_IsValid00
XEMagicCore_XEObjectEntity_IsValid00
XEMagicCore_XEBodyEntity_IsValid00
XEMagicCore_XEHandGestureEntity_IsValid00
XEMagicCore_XEFaceExpressionEntity_IsValid00
XEMagicCore_XEMutableEntityData_IsValid00
@type string @readonly @type XEMagicCore::XEImageSegmentEntity @readonly @type XEMagicCore::XEImageSegmentEntity @readonly @type XEMagicCore::XEMutableEntityData @readonly @type XEMutableEntityData[] @readonly XEMagicCore_XEMutableEntity_IsValid00
XEMagicCore_XEMNNResultEntity_IsValid00
function SubviewPrimitive new | ( | ) |
function XESubview Release | ( | ) |
释放资源
function XESubview ReleaseInnerCamera | ( | ) |
释放内部相机对象,并更新子视图
function SubviewRenderTargetBuilder ReleaseRenderTexture | ( | ) |
释放子视图的渲染纹理
function SubviewRenderTargetBuilder ReleaseSubviewScene | ( | ) |
释放subview场景资源
function XESubview RemovePrimitive | ( | nIndex | , |
bRestepSubview | |||
) |
按索引删除图元,当子视图中图元发生变化时,应指是否重新安装
nIndex | number |
bRestepSubview | boolean |
function XESubview RemovePrimitive | ( | sp | , |
bRestepSubview | |||
) |
function XESubview ResetupRenderPrimitives | ( | ) |
更新一次渲染图元, 并更新入Subview渲染场景中
function XESubview ResetupSubview | ( | ) |
重新安装图元,当子视图中图元发生变化时,应重新安装
function XESubview ResetupSubviewBgTexture | ( | ) |
重新子视图中的背景纹理
function SubviewPrimitive SetAsGuest | ( | ) |
SubviewPrimitive_SetAsGuest00
function SubviewPrimitive SetAsHolder | ( | ) |
SubviewPrimitive_SetAsHolder00
function SubviewPrimitive SetBuildCameraInner | ( | ) |
SubviewPrimitive_SetBuildCameraInner00
function SubviewPrimitive SetHolderGuestDontCare | ( | ) |
SubviewPrimitive_SetHolderGuestDontCare00
function SubviewPrimitive SetNotBuildCameraInner | ( | ) |
SubviewPrimitive_SetNotBuildCameraInner00
function SubviewPrimitive SetNotRenderInSubview | ( | ) |
SubviewPrimitive_SetNotRenderInSubview00
function SubviewPrimitive SetNotRenderInViewport | ( | ) |
SubviewPrimitive_SetNotRenderInViewport00
function SubviewPrimitive SetNotRenderTextureInViewport | ( | ) |
SubviewPrimitive_SetNotRenderTextureInViewport00
function SubviewPrimitive SetOnlyRenderInSubview | ( | ) |
SubviewPrimitive_SetOnlyRenderInSubview00
function SubviewPrimitive SetRenderInSubview | ( | ) |
SubviewPrimitive_SetRenderInSubview00
function SubviewPrimitive SetRenderInViewport | ( | ) |
SubviewPrimitive_SetRenderInViewport00
function SubviewPrimitive SetRenderTextureInViewport | ( | ) |
SubviewPrimitive_SetRenderTextureInViewport00
function XESubview SetSubviewCamera | ( | pCamera | ) |
function XESubview SetupMaterialInstance | ( | pMaterialIns | ) |
function SubviewRenderTargetBuilder SetupSubview | ( | strSubviewName | ) |
为子视图的图元持有体安装子视图场景构建器
strSubviewName | string |
function XESubview UnbindHolder | ( | ) |
取消绑定
function XESubview UpdateFromViewport | ( | ) |
从当前绑定视口中更新设备参数,如宽高,相机,灯光
SubviewPrimitive = {} |