Photon Fusion 1.1.2

Public Member Functions | List of all members
AccuracyAttribute Class Reference

Additional companion attribute to NetworkedAttribute, which indicates how floats should be compressed. More...

Inherits Attribute.

Public Member Functions

 AccuracyAttribute (double accuracy)
 Constructor new accuracy. More...
 
 AccuracyAttribute (float accuracy)
 Constructor new accuracy. More...
 
 AccuracyAttribute (string defaultAccuracyTag)
 Constructor that takes a named AccuracyDefaults constant. Accuracy for this property will be acquired from the NetworkProjectConfig.AccuracyDefaults settings. More...
 

Detailed Description

Additional companion attribute to NetworkedAttribute, which indicates how floats should be compressed.

Constructor & Destructor Documentation

◆ AccuracyAttribute() [1/3]

AccuracyAttribute ( double  accuracy)

Constructor new accuracy.

◆ AccuracyAttribute() [2/3]

AccuracyAttribute ( float  accuracy)

Constructor new accuracy.

◆ AccuracyAttribute() [3/3]

AccuracyAttribute ( string  defaultAccuracyTag)

Constructor that takes a named AccuracyDefaults constant. Accuracy for this property will be acquired from the NetworkProjectConfig.AccuracyDefaults settings.

Parameters
defaultAccuracyTag