跳转至

CameraPreset

文档版本:r/21_u4
协议版本:748

CameraPreset类型。该类型用于protocol.type.camerapreset.description

结构

digraph "CameraPreset" {
rankdir = LR
8
8 -> 9
9 -> 10
8 -> 11
11 -> 12
8 -> 13
13 -> 17
8 -> 18
18 -> 19
8 -> 20
20 -> 21
8 -> 22
22 -> 23
8 -> 24
24 -> 25
8 -> 26
26 -> 27
8 -> 28
28 -> 32
8 -> 33
33 -> 37
8 -> 38
38 -> 39
8 -> 40
40 -> 41
8 -> 42
42 -> 43
8 -> 44
44 -> 48
8 -> 49
49 -> 50
8 -> 51
51 -> 55
8 -> 56
56 -> 57
8 -> 58
58 -> 59

8 [label="CameraPreset",comment="name: \"CameraPreset\", typeName: \"\", id: 8, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
9 [label="Name",comment="name: \"Name\", typeName: \"\", id: 9, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
10 [label="string",comment="name: \"string\", typeName: \"\", id: 10, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
11 [label="Inherit From",comment="name: \"Inherit From\", typeName: \"\", id: 11, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
12 [label="string",comment="name: \"string\", typeName: \"\", id: 12, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
13 [label="Pos X",comment="name: \"Pos X\", typeName: \"std::optional<float>\", id: 13, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
17 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 17, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
18 [label="Pos Y",comment="name: \"Pos Y\", typeName: \"std::optional<float>\", id: 18, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
19 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 19, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
20 [label="Pos Z",comment="name: \"Pos Z\", typeName: \"std::optional<float>\", id: 20, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
21 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 21, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
22 [label="Rot X",comment="name: \"Rot X\", typeName: \"std::optional<float>\", id: 22, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
23 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 23, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
24 [label="Rot Y",comment="name: \"Rot Y\", typeName: \"std::optional<float>\", id: 24, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
25 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 25, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
26 [label="Rotation Speed",comment="name: \"Rotation Speed\", typeName: \"std::optional<float>\", id: 26, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
27 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 27, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
28 [label="Snap to Target",comment="name: \"Snap to Target\", typeName: \"std::optional<bool>\", id: 28, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
32 [label="std::optional<bool>",comment="name: \"std::optional<bool>\", typeName: \"\", id: 32, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
33 [label="Horizontal Rotation Limit",comment="name: \"Horizontal Rotation Limit\", typeName: \"std::optional<class Vec2>\", id: 33, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
37 [label="std::optional<class Vec2>",comment="name: \"std::optional<class Vec2>\", typeName: \"\", id: 37, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
38 [label="Vertical Rotation Limit",comment="name: \"Vertical Rotation Limit\", typeName: \"std::optional<class Vec2>\", id: 38, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
39 [label="std::optional<class Vec2>",comment="name: \"std::optional<class Vec2>\", typeName: \"\", id: 39, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
40 [label="Continue Targeting",comment="name: \"Continue Targeting\", typeName: \"std::optional<bool>\", id: 40, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
41 [label="std::optional<bool>",comment="name: \"std::optional<bool>\", typeName: \"\", id: 41, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
42 [label="View Offset",comment="name: \"View Offset\", typeName: \"std::optional<class Vec2>\", id: 42, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
43 [label="std::optional<class Vec2>",comment="name: \"std::optional<class Vec2>\", typeName: \"\", id: 43, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
44 [label="Entity Offset",comment="name: \"Entity Offset\", typeName: \"std::optional<class Vec3>\", id: 44, branchId: 0, recurseId: -1, attributes: 256, notes: \"Changing the camera's pivot point from the center of the entity\""];
48 [label="std::optional<class Vec3>",comment="name: \"std::optional<class Vec3>\", typeName: \"\", id: 48, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
49 [label="Radius",comment="name: \"Radius\", typeName: \"std::optional<float>\", id: 49, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
50 [label="std::optional<float>",comment="name: \"std::optional<float>\", typeName: \"\", id: 50, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
51 [label="Listener",comment="name: \"Listener\", typeName: \"std::optional<enum CameraPreset::AudioListener>\", id: 51, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
55 [label="std::optional<enum CameraPreset::AudioListener>",comment="name: \"std::optional<enum CameraPreset::AudioListener>\", typeName: \"\", id: 55, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
56 [label="Player Effects",comment="name: \"Player Effects\", typeName: \"std::optional<bool>\", id: 56, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
57 [label="std::optional<bool>",comment="name: \"std::optional<bool>\", typeName: \"\", id: 57, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
58 [label="Align target and camera forward",comment="name: \"Align target and camera forward\", typeName: \"std::optional<bool>\", id: 58, branchId: 0, recurseId: -1, attributes: 256, notes: \"\""];
59 [label="std::optional<bool>",comment="name: \"std::optional<bool>\", typeName: \"\", id: 59, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;10;12;17;19;21;23;25;27;32;37;39;41;43;48;50;55;57;59}

}

字段

CameraPreset
[name][inherit_from][pos_x][pos_y][pos_z][rot_x][rot_y][rotation_speed][snap_to_target][horizontal_rotation_limit][vertical_rotation_limit][continue_targeting][view_offset][entity_offset][radius][listener][player_effects][align_target_and_camera_forward]
Name:string
特殊类型。protocol.type.camerapreset.name.description
Inherit From:string
特殊类型。protocol.type.camerapreset.inherit_from.description
Pos X:std::optional<float>
特殊类型。protocol.type.camerapreset.pos_x.description
Pos Y:std::optional<float>
特殊类型。protocol.type.camerapreset.pos_y.description
Pos Z:std::optional<float>
特殊类型。protocol.type.camerapreset.pos_z.description
Rot X:std::optional<float>
特殊类型。protocol.type.camerapreset.rot_x.description
Rot Y:std::optional<float>
特殊类型。protocol.type.camerapreset.rot_y.description
Rotation Speed:std::optional<float>
特殊类型。protocol.type.camerapreset.rotation_speed.description
Snap to Target:std::optional<bool>
特殊类型。protocol.type.camerapreset.snap_to_target.description
Horizontal Rotation Limit:std::optional<class Vec2>
特殊类型。protocol.type.camerapreset.horizontal_rotation_limit.description
Vertical Rotation Limit:std::optional<class Vec2>
特殊类型。protocol.type.camerapreset.vertical_rotation_limit.description
Continue Targeting:std::optional<bool>
特殊类型。protocol.type.camerapreset.continue_targeting.description
View Offset:std::optional<class Vec2>
特殊类型。protocol.type.camerapreset.view_offset.description
Entity Offset:std::optional<class Vec3>
特殊类型。protocol.type.camerapreset.entity_offset.descriptionChanging the camera's pivot point from the center of the entity
Radius:std::optional<float>
特殊类型。protocol.type.camerapreset.radius.description
Listener:std::optional<enum CameraPreset::AudioListener>
特殊类型。protocol.type.camerapreset.listener.description
Player Effects:std::optional<bool>
特殊类型。protocol.type.camerapreset.player_effects.description
Align target and camera forward:std::optional<bool>
特殊类型。protocol.type.camerapreset.align_target_and_camera_forward.description