예제 #1
0
        public BaseList2D GetLink(CAPoseMorphTag tag, CAMorph morph, BaseDocument doc)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CAMorphNode_GetLink(swigCPtr, CAPoseMorphTag.getCPtr(tag), CAMorph.getCPtr(morph), BaseDocument.getCPtr(doc));
            BaseList2D            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new BaseList2D(cPtr, false);

            return(ret);
        }
예제 #2
0
        public CAMorph GetActiveMorph()
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.CAPoseMorphTag_GetActiveMorph(swigCPtr);
            CAMorph ret = (cPtr == global::System.IntPtr.Zero) ? null : new CAMorph(cPtr, false);

            return(ret);
        }
예제 #3
0
        public bool CopyFrom(CAMorph src, AliasTrans trn, CAMORPH_COPY_FLAGS flags)
        {
            bool ret = C4dApiPINVOKE.CAMorph_CopyFrom(swigCPtr, CAMorph.getCPtr(src), AliasTrans.getCPtr(trn), (int)flags);

            return(ret);
        }
예제 #4
0
        public int GetMorphIndex(CAMorph morph)
        {
            int ret = C4dApiPINVOKE.CAPoseMorphTag_GetMorphIndex(swigCPtr, CAMorph.getCPtr(morph));

            return(ret);
        }
예제 #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CAMorph obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }