VRay SDK for C#
Loading...
Searching...
No Matches
VRay.StateChangedEventArgs Class Reference

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...
 
- Public Member Functions inherited from VRay.VRayEventArgs
 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.
 
- Properties inherited from VRay.VRayEventArgs
double Instant [get, set]
 Actual event time. Time is in seconds since V-Ray was initialized.
 

Detailed Description

A class holding the pre- and post-transition state values of a VRayRenderer state change.

Constructor & Destructor Documentation

◆ StateChangedEventArgs()

VRay.StateChangedEventArgs.StateChangedEventArgs ( VRayRenderer.RendererState  oldState,
VRayRenderer.RendererState  newState,
double  instant 
)

Creates an instance of the V-Ray state change event args.

Parameters
oldStateThe state before the event.
newStateNew state as of the time of the event ocurrence.
instantThe actual time of ocurrence - seconds since V-Ray initialization

The documentation for this class was generated from the following file: