Exemplo n.º 1
0
 public FBXVector3(FBXVector3 other) : this(FBXImporterUnmanagedPINVOKE.new_FBXVector3__SWIG_2(FBXVector3.getCPtr(other)), true)
 {
     if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
     {
         throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void SetVector3(string key, FBXVector3 value)
 {
     FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_SetVector3(swigCPtr, key, FBXVector3.getCPtr(value));
     if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
     {
         throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void AddVertex(FBXVector3 value)
 {
     FBXImporterUnmanagedPINVOKE.FBXModelPtr_AddVertex(swigCPtr, FBXVector3.getCPtr(value));
     if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
     {
         throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
 public void SetNormal(int index, FBXVector3 value)
 {
     FBXImporterUnmanagedPINVOKE.FBXModelPtr_SetNormal(swigCPtr, index, FBXVector3.getCPtr(value));
     if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
     {
         throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 5
0
 public void SetGeometryScale(FBXVector3 value)
 {
     FBXImporterUnmanagedPINVOKE.FBXModelPtr_SetGeometryScale(swigCPtr, FBXVector3.getCPtr(value));
     if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
     {
         throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 6
0
    public FBXVector3 GetVector3(string key, FBXVector3 defaultValue)
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_GetVector3__SWIG_0(swigCPtr, key, FBXVector3.getCPtr(defaultValue)), true);

        if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending)
        {
            throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
 static Vector3 FBXNormalToUnityNormal(FBXVector3 v)
 {
     return(new Vector3(v.x, -v.y, -v.z));
 }
Exemplo n.º 8
0
 public FBXVector3 GetGeometryScale() {
   FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetGeometryScale(swigCPtr), true);
   return ret;
 }
Exemplo n.º 9
0
 public FBXVector3 GetScalingOffset() {
   FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetScalingOffset(swigCPtr), true);
   return ret;
 }
Exemplo n.º 10
0
 static Vector3 FbxsdkConvertVector3(FBXVector3 v)
 {
     return new Vector3(v.X, v.Y, v.Z);
 }
Exemplo n.º 11
0
    public FBXVector3 GetScale()
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModelPtr_GetScale(swigCPtr), true);

        return(ret);
    }
Exemplo n.º 12
0
 static Color FBXVector3ToUnityColor(FBXVector3 v)
 {
     return(new Color(v.x, v.y, v.z, 1.0f));
 }
Exemplo n.º 13
0
 static Quaternion FBXVector3ToUnityQuaternion(FBXVector3 v)
 {
     return(Quaternion.Euler(new Vector3(v.x, -v.y, -v.z)));
 }
Exemplo n.º 14
0
    public FBXVector3 GetVector3(string key)
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXMaterialPtr_GetVector3__SWIG_1(swigCPtr, key), true);

        return(ret);
    }
Exemplo n.º 15
0
    public FBXVector3 GetGeometryRotation()
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModelPtr_GetGeometryRotation(swigCPtr), true);

        return(ret);
    }
Exemplo n.º 16
0
 static Vector2 FbxsdkConvertTexCoord(FBXVector3 v)
 {
     return new Vector2(v.X, v.Y);
 }
Exemplo n.º 17
0
    public FBXVector3 GetVertex(int index)
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModelPtr_GetVertex(swigCPtr, index), true);

        return(ret);
    }
Exemplo n.º 18
0
 public void SetRotation(FBXVector3 value) {
   FBXImporterUnmanagedPINVOKE.FBXModel_SetRotation(swigCPtr, FBXVector3.getCPtr(value));
   if (FBXImporterUnmanagedPINVOKE.SWIGPendingException.Pending) throw FBXImporterUnmanagedPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 19
0
    public FBXVector3 Normalize()
    {
        FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXVector3_Normalize(swigCPtr), false);

        return(ret);
    }
Exemplo n.º 20
0
 public FBXVector3 GetRotation() {
   FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetRotation(swigCPtr), true);
   return ret;
 }
Exemplo n.º 21
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FBXVector3 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 22
0
 public FBXVector3 GetNormal(int index) {
   FBXVector3 ret = new FBXVector3(FBXImporterUnmanagedPINVOKE.FBXModel_GetNormal(swigCPtr, index), true);
   return ret;
 }
Exemplo n.º 23
0
 static Vector3 FBXVector3ToUnityVector3(FBXVector3 v)
 {
     return(new Vector3(-v.x, v.y, v.z));
 }