VRay SDK for C#
|
A class holding the pre- and post-transition state values of a VRayRenderer state change. More...
Inherits VRay.VRayEventArgs.
Public Member Functions | |
StateChangedEventArgs (VRayRenderer.RendererState oldState, VRayRenderer.RendererState newState, double instant) | |
Creates an instance of the V-Ray state change event args. More... | |
![]() | |
VRayEventArgs (double instant) | |
Create a base event arg instance with timing info | |
Properties | |
VRayRenderer.RendererState | NewState [get] |
New state as of the time of the event ocurrence. | |
VRayRenderer.RendererState | OldState [get] |
The state before the event. | |
![]() | |
double | Instant [get, set] |
Actual event time. Time is in seconds since V-Ray was initialized. | |
A class holding the pre- and post-transition state values of a VRayRenderer state change.
VRay.StateChangedEventArgs.StateChangedEventArgs | ( | VRayRenderer.RendererState | oldState, |
VRayRenderer.RendererState | newState, | ||
double | instant | ||
) |
Creates an instance of the V-Ray state change event args.
oldState | The state before the event. |
newState | New state as of the time of the event ocurrence. |
instant | The actual time of ocurrence - seconds since V-Ray initialization |