DiscreteTime Constructor

Declaration

public DiscreteTime(Unity.IntegerTime.DiscreteTime x);

Declaration

public DiscreteTime(float v);

Declaration

public DiscreteTime(double v);

Declaration

public DiscreteTime(long v);

Declaration

public DiscreteTime(int v);

Parameters

x Copy constructor.
v Float/Double represent seconds, long/int represent ticks.

Description

Constructs a discrete time from either seconds (float/double) or ticks (int/long).


Did you find this page useful? Please give it a rating: