Esempio n. 1
0
    public static HBhvAnimation AddAnimation(HBaseModel model, System.Text.StringBuilder name, System.Text.StringBuilder targetpath, HPoint pivot)
    {
        IntPtr        cPtr = HCSMVOPINVOKE.HBhvUtility_AddAnimation(HBaseModel.getCPtr(model), name, targetpath, HPoint.getCPtr(pivot));
        HBhvAnimation ret  = (cPtr == IntPtr.Zero) ? null : new HBhvAnimation(cPtr, false);

        return(ret);
    }
Esempio n. 2
0
        protected override void Dispose(bool disposing)
        {
            if (m_pHOperator != null)
            {
                m_pHOperator.Dispose();
                m_pHOperator = null;
            }

            if (m_pHSelection != null)
            {
                m_pHSelection.Dispose();
                m_pHSelection = null;
                m_pHView.SetSelection((HSelectionSet)null);
            }

            if (m_pHView != null)
            {
                m_pHView.Dispose();
                m_pHView = null;
            }

            if (m_pHModel != null)
            {
                m_pHModel.Dispose();
                m_pHModel = null;
            }

            base.Dispose(disposing);
        }
Esempio n. 3
0
    public HBaseModel GetModel()
    {
        IntPtr     cPtr = HCSMVOPINVOKE.HBhvBehaviorManager_GetModel(swigCPtr);
        HBaseModel ret  = (cPtr == IntPtr.Zero) ? null : new HBaseModel(cPtr, false);

        return(ret);
    }
Esempio n. 4
0
    public HBaseModel Model()
    {
        IntPtr     cPtr = HCSMVOPINVOKE.HOutputHandlerOptions_Model__SWIG_0(swigCPtr);
        HBaseModel ret  = (cPtr == IntPtr.Zero) ? null : new HBaseModel(cPtr, false);

        return(ret);
    }
Esempio n. 5
0
 public static void AddPosRotKeyframe(HBaseModel model, System.Text.StringBuilder animname, int tick, HPoint pos, bool linear, HQuat quat, bool linear2)
 {
     HCSMVOPINVOKE.HBhvUtility_AddPosRotKeyframe__SWIG_1(HBaseModel.getCPtr(model), animname, tick, HPoint.getCPtr(pos), linear, HQuat.getCPtr(quat), linear2);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 6
0
 public static void AddPosRotKeyframe(HBaseModel model, string animname, int tick, HPoint pivot, float[] matrix)
 {
     HCSMVOPINVOKE.HBhvUtility_AddPosRotKeyframe__SWIG_0(HBaseModel.getCPtr(model), animname, tick, HPoint.getCPtr(pivot), matrix);
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 7
0
 public static void ResolveTarget(string arg0, System.Text.StringBuilder result, System.Text.StringBuilder targettype, HBaseModel model, SWIGTYPE_p_HBhvCameraType ctype)
 {
     HCSMVOPINVOKE.HBhvTargetObject_ResolveTarget(arg0, result, targettype, HBaseModel.getCPtr(model), SWIGTYPE_p_HBhvCameraType.getCPtr(ctype));
     if (HCSMVOPINVOKE.SWIGPendingException.Pending)
     {
         throw HCSMVOPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 8
0
 public static void AddMatrixKeyframe(HBaseModel model, HBhvAnimation ani, int tick, float[] matrix)
 {
     HCSMVOPINVOKE.HBhvUtility_AddMatrixKeyframe(HBaseModel.getCPtr(model), HBhvAnimation.getCPtr(ani), tick, matrix);
 }
Esempio n. 9
0
 public HBhvBehaviorManager(HBaseModel model, int tps, int delay, string name, string version) : this(HCSMVOPINVOKE.new_HBhvBehaviorManager__SWIG_1(HBaseModel.getCPtr(model), tps, delay, name, version), true)
 {
 }
Esempio n. 10
0
 public static void ProcessXMLData(HBaseModel model, string buffer)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_ProcessXMLData(HBaseModel.getCPtr(model), buffer);
 }
Esempio n. 11
0
 public static void SetupAnimationWriteFromHSF(HStreamFileToolkit mytool, HBaseModel model)
 {
     HCSMVOPINVOKE.HBhvUtility_SetupAnimationWriteFromHSF(HStreamFileToolkit.getCPtr(mytool), HBaseModel.getCPtr(model));
 }
Esempio n. 12
0
 public static void ConvertHSFtoSegSwitch(string filename, HBaseModel model)
 {
     HCSMVOPINVOKE.HBhvUtility_ConvertHSFtoSegSwitch(filename, HBaseModel.getCPtr(model));
 }
 public HBhvKeyframeGenerator(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvKeyframeGenerator(HBaseModel.getCPtr(model)), true)
 {
 }
Esempio n. 14
0
 public static void AddInstanceCreateKeyframe(HBaseModel model, System.Text.StringBuilder animname, int tick, System.Text.StringBuilder path, System.Text.StringBuilder include_path, System.Text.StringBuilder color)
 {
     HCSMVOPINVOKE.HBhvUtility_AddInstanceCreateKeyframe(HBaseModel.getCPtr(model), animname, tick, path, include_path, color);
 }
Esempio n. 15
0
 public void AddColorMorphDataToAnimation(string animname, HPoint md, int pnum, HBaseModel model)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_AddColorMorphDataToAnimation__SWIG_1(swigCPtr, animname, HPoint.getCPtr(md), pnum, HBaseModel.getCPtr(model));
 }
Esempio n. 16
0
 public static HandleRef getCPtr(HBaseModel obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 17
0
 public HBhvBehaviorManager(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvBehaviorManager__SWIG_5(HBaseModel.getCPtr(model)), true)
 {
 }
Esempio n. 18
0
 public HBhvBehaviorManager(HBaseModel model, int tps, int delay) : this(HCSMVOPINVOKE.new_HBhvBehaviorManager__SWIG_3(HBaseModel.getCPtr(model), tps, delay), true)
 {
 }
Esempio n. 19
0
 public static void AddSegmentMoveKeyframe(HBaseModel model, HBhvAnimation anim, int tick, System.Text.StringBuilder path)
 {
     HCSMVOPINVOKE.HBhvUtility_AddSegmentMoveKeyframe(HBaseModel.getCPtr(model), HBhvAnimation.getCPtr(anim), tick, path);
 }
Esempio n. 20
0
 public void Model(HBaseModel m)
 {
     HCSMVOPINVOKE.HOutputHandlerOptions_Model__SWIG_1(swigCPtr, HBaseModel.getCPtr(m));
 }
Esempio n. 21
0
 public TK_Dispatch_XML(HBaseModel model) : this(HCSMVOPINVOKE.new_TK_Dispatch_XML(HBaseModel.getCPtr(model)), true)
 {
 }
Esempio n. 22
0
 public HBhvSegmentTracker(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvSegmentTracker(HBaseModel.getCPtr(model)), true)
 {
 }
Esempio n. 23
0
 public static void BatchRead(HBaseModel model, string directory, string extension)
 {
     HCSMVOPINVOKE.HUtility_BatchRead(HBaseModel.getCPtr(model), directory, extension);
 }
Esempio n. 24
0
 public static void ReadFromFile(HBaseModel model, string filename)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_ReadFromFile__SWIG_0(HBaseModel.getCPtr(model), filename);
 }