Photon Fusion 1.1.9

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.
 
 AccuracyAttribute (float accuracy)
 Constructor new accuracy.
 
 AccuracyAttribute (string defaultAccuracyTag)
 Constructor that takes a named AccuracyDefaults constant. Accuracy for this property will be acquired from the NetworkProjectConfig.AccuracyDefaults settings.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AccuracyAttribute()

AccuracyAttribute ( string  defaultAccuracyTag)

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

Parameters
defaultAccuracyTag