internal static void animate(IntPtr thisPtr, float elevation, float degreesPerSecond) { if (_animateFunc == null) { _animateFunc = (_animate)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_TimeOfDay_animate"), typeof(_animate)); } _animateFunc(thisPtr, elevation, degreesPerSecond); }
internal static void animate(IntPtr thisPtr, float duration, float startAzimuth, float endAzimuth, float startElevation, float endElevation) { if (_animateFunc == null) { _animateFunc = (_animate)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_Sun_animate"), typeof(_animate)); } _animateFunc(thisPtr, duration, startAzimuth, endAzimuth, startElevation, endElevation); }