示例#1
0
            internal static _AllowAllPoses AllowAllPoses()
            {
                if (_AllowAllPosesFunc == null)
                {
                    _AllowAllPosesFunc =
                        (_AllowAllPoses)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_allowAllPoses"), typeof(_AllowAllPoses));
                }

                return(_AllowAllPosesFunc);
            }
示例#2
0
            internal static _AllowAllPoses AllowAllPoses()
            {
                if (_AllowAllPosesFunc == null)
                {
                    _AllowAllPosesFunc =
                        (_AllowAllPoses)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_allowAllPoses"), typeof(_AllowAllPoses));
                }

                return(_AllowAllPosesFunc);
            }