Example #1
0
            internal static _SetLightDirection SetLightDirection()
            {
                if (_SetLightDirectionFunc == null)
                {
                    _SetLightDirectionFunc =
                        (_SetLightDirection)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setLightDirection"), typeof(_SetLightDirection));
                }

                return(_SetLightDirectionFunc);
            }
            internal static _SetLightDirection SetLightDirection()
            {
                if (_SetLightDirectionFunc == null)
                {
                    _SetLightDirectionFunc =
                        (_SetLightDirection)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setLightDirection"), typeof(_SetLightDirection));
                }

                return(_SetLightDirectionFunc);
            }