예제 #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
파일: Player.cs 프로젝트: lukaspj/T3DSharp
            internal static _AllowAllPoses AllowAllPoses()
            {
                if (_AllowAllPosesFunc == null)
                {
                    _AllowAllPosesFunc =
                        (_AllowAllPoses)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_allowAllPoses"), typeof(_AllowAllPoses));
                }

                return(_AllowAllPosesFunc);
            }