VRay SDK for C++
Loading...
Searching...
No Matches
VRay::TiMe Union Reference

#include <vraysdk.hpp>

Public Member Functions

 TiMe ()
 Default constructor.
 
 TiMe (double time)
 Constructs a TiMe object from a given time (double)
 
 operator double ()
 Returns the double value of a TiMe object.
 

Static Public Member Functions

static double Default ()
 
static double None ()
 The None value (double) of the TiMe union In case used in Plugin::setValue(), the given plugin property will be reset to non-animated state In case used in Plugin::getValue(), it will return the plugin property value at the current time (VRayRenderer::getCurrentTime())
 

Detailed Description

A helper union, used in Plugin::setValue() and Plugin::getValue() interfaces. Could be used either with a given time (double), or with the special values of TiMe::Default() or TiMe::None() (see below)

Member Function Documentation

◆ Default()

static double VRay::TiMe::Default ( )
inlinestatic

The Default value (double) of the TiMe union In case used in Plugin::setValue(), it will set the given plugin property value at the current time (VRayRenderer::getCurrentTime()) In case used in Plugin::getValue(), it will return the plugin property value at the current time (VRayRenderer::getCurrentTime())


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