-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace rerun.blueprint.archetypes; | ||
|
||
|
||
/// Defines a default camera view. | ||
table DefaultCamera ( | ||
"attr.docs.category": "Spatial 3D", | ||
"attr.docs.view_types": "Spatial3DView, Spatial2DView: if logged above active projection", | ||
"attr.rust.derive": "Copy, PartialEq", | ||
"attr.rerun.scope": "blueprint" | ||
) { | ||
/// Origin of the camera view. | ||
origin: rerun.blueprint.components.CameraOrigin ("attr.rerun.component_optional", nullable, order: 1100); | ||
|
||
/// Target of the camera view. | ||
target: rerun.blueprint.components.CameraTarget ("attr.rerun.component_optional", nullable, order: 1200); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace rerun.blueprint.components; | ||
|
||
|
||
/// Origin of a camera. | ||
struct CameraOrigin ( | ||
"attr.rust.derive": "PartialEq, Copy", | ||
"attr.rust.repr": "transparent", | ||
"attr.rerun.scope": "blueprint" | ||
) { | ||
/// Position of the camera origin. | ||
pos: rerun.datatypes.Vec3D (order: 100); | ||
} | ||
|
||
|
||
/// Target of a camera. | ||
struct CameraTarget ( | ||
"attr.rust.derive": "PartialEq, Copy", | ||
"attr.rust.repr": "transparent", | ||
"attr.rerun.scope": "blueprint" | ||
) { | ||
/// Position of the camera target. | ||
pos: rerun.datatypes.Vec3D (order: 100); | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.