Example #1
0
            internal static _GetPose GetPose()
            {
                if (_GetPoseFunc == null)
                {
                    _GetPoseFunc =
                        (_GetPose)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getPose"), typeof(_GetPose));
                }

                return(_GetPoseFunc);
            }
Example #2
0
            internal static _GetPose GetPose()
            {
                if (_GetPoseFunc == null)
                {
                    _GetPoseFunc =
                        (_GetPose)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getPose"), typeof(_GetPose));
                }

                return(_GetPoseFunc);
            }