Photon Fusion 1.1.11

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

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

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.