Ejemplo n.º 1
0
            internal static void play(IntPtr thisPtr, float fadeInTime)
            {
                if (_playFunc == null)
                {
                    _playFunc =
                        (_play)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                          "fn_SFXSource_play"), typeof(_play));
                }

                _playFunc(thisPtr, fadeInTime);
            }
Ejemplo n.º 2
0
            internal static void play(IntPtr thisPtr)
            {
                if (_playFunc == null)
                {
                    _playFunc =
                        (_play)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                          "fn_GuiTheoraCtrl_play"), typeof(_play));
                }

                _playFunc(thisPtr);
            }
Ejemplo n.º 3
0
 set => SetProperty(ref _play, value);