Photon Fusion 1.1.2

Public Member Functions | Public Attributes | List of all members
Pow2SliderAttribute Class Reference

Attribute used to mark a field that needs to change based on an exponent via a UI slider More...

Inherits PropertyAttribute.

Public Member Functions

 Pow2SliderAttribute (int min, int max)
 

Public Attributes

Units Unit = Units.None
 
int MinPower = 0
 
int MaxPower = 7
 
bool AllowZero = true
 Determines if a slider power of 0 results in an actual value of one, or zero. More...
 

Detailed Description

Attribute used to mark a field that needs to change based on an exponent via a UI slider

Member Data Documentation

◆ AllowZero

bool AllowZero = true

Determines if a slider power of 0 results in an actual value of one, or zero.