MCBE
OverviewPacketsCameraPresets
ID 0xC6 · 198Server → ClientGraphics

CameraPresets

The camera presets the level defines, sent during the join sequence.

camera-presets.bin
struct CameraPresets {
  CameraPresets                                CameraPresets;
}

Structure

FieldTypeDescription
Camera PresetsCameraPresets

Structure of CameraPresets

FieldTypeDescription
Presetsvaruint32 count + CameraPreset[]Length-prefixed sequence.

Structure of CameraPreset

FieldTypeDescription
Namestring
Inherit Fromstring
Pos Xoptional byte + float32Presence flag on the wire; value omitted when absent.
Pos Yoptional byte + float32Presence flag on the wire; value omitted when absent.
Pos Zoptional byte + float32Presence flag on the wire; value omitted when absent.
Rot Xoptional byte + float32Presence flag on the wire; value omitted when absent.
Rot Yoptional byte + float32Presence flag on the wire; value omitted when absent.
Camera Rotation Speedoptional byte + float32Presence flag on the wire; value omitted when absent.
Snap To Targetoptional byte + boolPresence flag on the wire; value omitted when absent.
Horizontal Rotation Limitoptional byte + Vec2Presence flag on the wire; value omitted when absent.
Vertical Rotation Limitoptional byte + Vec2Presence flag on the wire; value omitted when absent.
Continue Targetingoptional byte + boolPresence flag on the wire; value omitted when absent.
Tracking Radiusoptional byte + float32Presence flag on the wire; value omitted when absent.
View Offsetoptional byte + Vec2Presence flag on the wire; value omitted when absent.
Entity Offsetoptional byte + Vec3Presence flag on the wire; value omitted when absent.
Radiusoptional byte + float32Presence flag on the wire; value omitted when absent.
Yaw Limit Minoptional byte + float32Presence flag on the wire; value omitted when absent.
Yaw Limit Maxoptional byte + float32Presence flag on the wire; value omitted when absent.
Listeneroptional byte + AudioListenerPresence flag on the wire; value omitted when absent.
Player Effectsoptional byte + boolPresence flag on the wire; value omitted when absent.
Aim Assistoptional byte + CameraAimAssistCommandPresetDefinitionPresence flag on the wire; value omitted when absent.
Control Schemeoptional byte + SchemePresence flag on the wire; value omitted when absent.
Apply Inherited Starting Rotationbool
Starting Rotationoptional byte + Vec2Presence flag on the wire; value omitted when absent.

Structure of Vec2

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)

Structure of Vec3

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)
Zfloat32 (LE)

Structure of CameraAimAssistCommandPresetDefinition

FieldTypeDescription
Preset Idoptional byte + stringPresence flag on the wire; value omitted when absent.
Target Modeoptional byte + TargetModePresence flag on the wire; value omitted when absent.
Angleoptional byte + Vec2Presence flag on the wire; value omitted when absent.
Distanceoptional byte + float32Presence flag on the wire; value omitted when absent.

Notes

  • No special notes.