HytaleDocs
Camera

ViewBobbing

Asset path: Server/Camera/ViewBobbing/*.json

Parent

When set this asset will inherit properties from the named asset.

When inheriting from another ViewBobbing most properties will simply be copied from the parent asset to this asset. In the case where both child and parent provide a field the child field will simply replace the value provided by the parent, in the case of nested structures this will apply to the fields within the structure. In some cases the field may decide to act differently, for example: by merging the parent and child fields together.

Type information:

Any one of the following String:

NameDescription
"None"
"Idle"
"Crouching"
"Walking"
"Running"
"Sprinting"
"Climbing"
"Swimming"
"Flying"
"Sliding"
"Rolling"
"Mounting"
"SprintMounting"

Tags

Tags are a general way to describe an asset that can be interpreted by other systems in a way they see fit.

For example you could tag something with a Material tag with the values Solid and Stone, And another single tag Ore.

Tags will be expanded into a single list of tags automatically. Using the above example with Material and Ore the end result would be the following list of tags: Ore, Material, Solid, Stone, Material=Solid and Material=Stone.

Type information:

(Nullable) Map of the following:

KeyType
any StringArray of String

FirstPerson

The camera shake profile to be applied

Type information:

CameraShakeConfig with the following properties:

KeyTypeDescription
Duration(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The time period that the camera will shake at full intensity for

StartTime(Nullable) Either Number or String that matches the pattern: ^(-?Infinity|NaN)$

The initial time value that the Offset and Rotation noises are sampled from when the camera-shake starts. If absent, the camera-shake uses a continuously incremented time value.

EaseIn
EasingConfig

EasingConfig with the following properties:

KeyTypeDescription
Time(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The duration time of the easing

TypeEasingType

The curve type of the easing

The fade-in time and intensity curve for the camera shake

EaseOut
EasingConfig

EasingConfig with the following properties:

KeyTypeDescription
Time(Nullable) Either Number defaults to: 0.0 or String that matches the pattern: ^(-?Infinity|NaN)$

The duration time of the easing

TypeEasingType

The curve type of the easing

The fade-out time and intensity curve for the camera shake

Offset(Nullable)
OffsetNoise

OffsetNoise with the following properties:

KeyTypeDescription
X(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera x-offset

Y(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera y-offset

Z(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera z-offset

The translational offset motion

Rotation(Nullable)
RotationNoise

RotationNoise with the following properties:

KeyTypeDescription
Pitch(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera pitch

Yaw(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera yaw

Roll(Nullable) Array of the type: NoiseConfig

The noise used to vary the camera roll

The rotational motion

Notes:

Types referenced by this type

EasingType

Any one of the following String (defaults to Linear):

NameDescription
"Linear"
"QuadIn"
"QuadOut"
"QuadInOut"
"CubicIn"
"CubicOut"
"CubicInOut"
"QuartIn"
"QuartOut"
"QuartInOut"
"QuintIn"
"QuintOut"
"QuintInOut"
"SineIn"
"SineOut"
"SineInOut"
"ExpoIn"
"ExpoOut"
"ExpoInOut"
"CircIn"
"CircOut"
"CircInOut"
"ElasticIn"
"ElasticOut"
"ElasticInOut"
"BackIn"
"BackOut"
"BackInOut"
"BounceIn"
"BounceOut"
"BounceInOut"

On this page