예제 #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);
    }
예제 #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);
        }
예제 #3
0
    public HBaseModel GetModel()
    {
        IntPtr     cPtr = HCSMVOPINVOKE.HBhvBehaviorManager_GetModel(swigCPtr);
        HBaseModel ret  = (cPtr == IntPtr.Zero) ? null : new HBaseModel(cPtr, false);

        return(ret);
    }
예제 #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);
    }
예제 #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();
     }
 }
예제 #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();
     }
 }
예제 #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();
     }
 }
예제 #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);
 }
예제 #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)
 {
 }
예제 #10
0
 public static void ProcessXMLData(HBaseModel model, string buffer)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_ProcessXMLData(HBaseModel.getCPtr(model), buffer);
 }
예제 #11
0
 public static void SetupAnimationWriteFromHSF(HStreamFileToolkit mytool, HBaseModel model)
 {
     HCSMVOPINVOKE.HBhvUtility_SetupAnimationWriteFromHSF(HStreamFileToolkit.getCPtr(mytool), HBaseModel.getCPtr(model));
 }
예제 #12
0
 public static void ConvertHSFtoSegSwitch(string filename, HBaseModel model)
 {
     HCSMVOPINVOKE.HBhvUtility_ConvertHSFtoSegSwitch(filename, HBaseModel.getCPtr(model));
 }
예제 #13
0
 public HBhvKeyframeGenerator(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvKeyframeGenerator(HBaseModel.getCPtr(model)), true)
 {
 }
예제 #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);
 }
예제 #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));
 }
예제 #16
0
 public static HandleRef getCPtr(HBaseModel obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #17
0
 public HBhvBehaviorManager(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvBehaviorManager__SWIG_5(HBaseModel.getCPtr(model)), true)
 {
 }
예제 #18
0
 public HBhvBehaviorManager(HBaseModel model, int tps, int delay) : this(HCSMVOPINVOKE.new_HBhvBehaviorManager__SWIG_3(HBaseModel.getCPtr(model), tps, delay), true)
 {
 }
예제 #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);
 }
예제 #20
0
 public void Model(HBaseModel m)
 {
     HCSMVOPINVOKE.HOutputHandlerOptions_Model__SWIG_1(swigCPtr, HBaseModel.getCPtr(m));
 }
예제 #21
0
 public TK_Dispatch_XML(HBaseModel model) : this(HCSMVOPINVOKE.new_TK_Dispatch_XML(HBaseModel.getCPtr(model)), true)
 {
 }
예제 #22
0
 public HBhvSegmentTracker(HBaseModel model) : this(HCSMVOPINVOKE.new_HBhvSegmentTracker(HBaseModel.getCPtr(model)), true)
 {
 }
예제 #23
0
 public static void BatchRead(HBaseModel model, string directory, string extension)
 {
     HCSMVOPINVOKE.HUtility_BatchRead(HBaseModel.getCPtr(model), directory, extension);
 }
예제 #24
0
 public static void ReadFromFile(HBaseModel model, string filename)
 {
     HCSMVOPINVOKE.HBhvBehaviorManager_ReadFromFile__SWIG_0(HBaseModel.getCPtr(model), filename);
 }