示例#1
0
            internal static _SetLightAmbient SetLightAmbient()
            {
                if (_SetLightAmbientFunc == null)
                {
                    _SetLightAmbientFunc =
                        (_SetLightAmbient)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setLightAmbient"), typeof(_SetLightAmbient));
                }

                return(_SetLightAmbientFunc);
            }
示例#2
0
            internal static _SetLightAmbient SetLightAmbient()
            {
                if (_SetLightAmbientFunc == null)
                {
                    _SetLightAmbientFunc =
                        (_SetLightAmbient)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiObjectView_setLightAmbient"), typeof(_SetLightAmbient));
                }

                return(_SetLightAmbientFunc);
            }