Class that contains global accuracy information. Built-in named defaults can be edited, or custom named defaults can be created. These defaults allow you to change accuracy settings across an entire project. More...
Public Member Functions | |
Accuracy | GetAccuracyOrThrow (string tag) |
bool | TryGetAccuracy (int hash, out Accuracy accuracy) |
Attempts to get an accuracy from a hash value. More... | |
Static Public Attributes | |
const string | DEFAULT = "Default" |
The named built-in general default. More... | |
const float | DEFAULT_ACCURACY = 0.001f |
The standard default fall back value for Accuracy. More... | |
const float | DEFAULT_UNCOMPRESSED_VALUE = 0 |
The fixed value that represents uncompressed. More... | |
const string | NORMALIZED_TIME = "NormalizedTime" |
The named built-in default for NormalizedTime. This value is used by built-in components like NetworkMecanimAnimator, but may be used for your own components as well. More... | |
const string | POSITION = "Position" |
The named built-in default for Position. This value is used by built-in components like NetworkTransform and NetworkRigidbody, but may be used for your own components as well. More... | |
const string | ROTATION = "Rotation" |
The named built-in default for Rotation. This value is used by built-in components like NetworkTransform and NetworkRigidbody, but may be used for your own components as well. More... | |
const string | UNCOMPRESSED = "Uncompressed" |
The named built-in default for Uncompressed. This cannot be changed and will always have a value of 0. More... | |
Class that contains global accuracy information. Built-in named defaults can be edited, or custom named defaults can be created. These defaults allow you to change accuracy settings across an entire project.
These values can be changed in the NetworkProjectConfig.
bool TryGetAccuracy | ( | int | hash, |
out Accuracy | accuracy | ||
) |
Attempts to get an accuracy from a hash value.
|
static |
The named built-in general default.
|
static |
The standard default fall back value for Accuracy.
|
static |
The fixed value that represents uncompressed.
|
static |
The named built-in default for NormalizedTime. This value is used by built-in components like NetworkMecanimAnimator, but may be used for your own components as well.
|
static |
The named built-in default for Position. This value is used by built-in components like NetworkTransform and NetworkRigidbody, but may be used for your own components as well.
|
static |
The named built-in default for Rotation. This value is used by built-in components like NetworkTransform and NetworkRigidbody, but may be used for your own components as well.
|
static |
The named built-in default for Uncompressed. This cannot be changed and will always have a value of 0.