CameraShake
Documentation for the CameraShake asset type.
Location
Camera/CameraShake
Use in Your Files
Add this to your JSON files for IDE autocompletion and validation:
"$schema": "https://hytaledb.ginco.gg/schemas/CameraShake.schema.json" Schema
FirstPerson
CameraShakeConfig
The camera shake to apply to the first-person camera
ThirdPerson
CameraShakeConfig
The camera shake to apply to the third-person camera
All of
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "CameraShake.json",
"title": "CameraShake",
"description": "CameraShake asset type",
"type": "object",
"allOf": [
{
"$ref": "base.schema.json"
}
],
"properties": {
"FirstPerson": {
"description": "The camera shake to apply to the first-person camera",
"$ref": "common.schema.json#/$defs/CameraShakeConfig"
},
"ThirdPerson": {
"description": "The camera shake to apply to the third-person camera",
"$ref": "common.schema.json#/$defs/CameraShakeConfig"
}
}
}