示例#1
0
 public serializableUnityARFaceAnchor(serializableUnityARMatrix4x4 wt, serializableFaceGeometry fg, Dictionary <string, float> bs, byte [] idstr)
 {
     worldTransform = wt;
     faceGeometry   = fg;
     arBlendShapes  = bs;
     identifierStr  = idstr;
 }
示例#2
0
 public serializableUnityARPlaneAnchor(serializableUnityARMatrix4x4 wt, SerializableVector4 ctr, SerializableVector4 ext, ARPlaneAnchorAlignment apaa,
                                       serializablePlaneGeometry spg, byte [] idstr)
 {
     worldTransform = wt;
     center         = ctr;
     extent         = ext;
     planeAlignment = apaa;
     identifierStr  = idstr;
     planeGeometry  = spg;
 }
示例#3
0
 public serializableUnityARCamera(serializableUnityARMatrix4x4 wt, serializableUnityARMatrix4x4 pm, ARTrackingState ats, ARTrackingStateReason atsr, UnityVideoParams uvp, UnityARLightData lightDat, serializableUnityARMatrix4x4 dt, serializablePointCloud spc)
 {
     worldTransform   = wt;
     projectionMatrix = pm;
     trackingState    = ats;
     trackingReason   = atsr;
     videoParams      = uvp;
     lightData        = lightDat;
     displayTransform = dt;
     pointCloud       = spc;
 }
示例#4
0
 public serializableUnityARFaceAnchor(serializableUnityARMatrix4x4 wt, serializableFaceGeometry fg, Dictionary <string, float> bs, byte [] idstr, bool bIsTracked,
                                      serializableUnityARMatrix4x4 leftEyeTransform,
                                      serializableUnityARMatrix4x4 rightEyeTransform)
 {
     worldTransform         = wt;
     faceGeometry           = fg;
     arBlendShapes          = bs;
     identifierStr          = idstr;
     isTracked              = bIsTracked;
     this.leftEyeTransform  = leftEyeTransform;
     this.rightEyeTransform = rightEyeTransform;
 }