Пример #1
0
        /// <summary>
        /// Find a socket object in this SkeletalMesh by name.
        /// Entering NAME_None will return NULL. If there are multiple sockets with the same name, will return the first one.
        /// </summary>
        public USkeletalMeshSocket FindSocket(string InSocketName)
        {
            CheckIsValid();
            IntPtr ___ret = FindSocket(_this.Get(), InSocketName);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            USkeletalMeshSocket ___ret2 = new USkeletalMeshSocket()
            {
                _this = ___ret
            }; return(___ret2);
        }
Пример #2
0
        /// <summary>Returns a socket by index. Max index is NumSockets(). The meshes sockets are accessed first, then the skeletons.</summary>
        public USkeletalMeshSocket GetSocketByIndex(int Index)
        {
            CheckIsValid();
            IntPtr ___ret = GetSocketByIndex(_this.Get(), Index);

            if (___ret == IntPtr.Zero)
            {
                return(null);
            }
            USkeletalMeshSocket ___ret2 = new USkeletalMeshSocket()
            {
                _this = ___ret
            }; return(___ret2);
        }