Beispiel #1
0
            internal static _SetLookAnimationOverride SetLookAnimationOverride()
            {
                if (_SetLookAnimationOverrideFunc == null)
                {
                    _SetLookAnimationOverrideFunc =
                        (_SetLookAnimationOverride)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setLookAnimationOverride"), typeof(_SetLookAnimationOverride));
                }

                return(_SetLookAnimationOverrideFunc);
            }
Beispiel #2
0
            internal static _SetLookAnimationOverride SetLookAnimationOverride()
            {
                if (_SetLookAnimationOverrideFunc == null)
                {
                    _SetLookAnimationOverrideFunc =
                        (_SetLookAnimationOverride)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setLookAnimationOverride"), typeof(_SetLookAnimationOverride));
                }

                return(_SetLookAnimationOverrideFunc);
            }