Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bonsairobo/smooth-bevy-cameras
/ functions
Functions
51 in github.com/bonsairobo/smooth-bevy-cameras
⨍
Functions
51
◇
Types & classes
17
↓ 8 callers
Function
yaw_and_pitch_from_vector
Returns pitch and yaw angles that rotates z unit vector to v. The yaw is applied first to z about the y axis to get z'. Then the pitch is applied abou
src/look_angles.rs:73
↓ 4 callers
Method
add_yaw
(&mut self, delta: f32)
src/look_angles.rs:42
↓ 3 callers
Method
add_pitch
(&mut self, delta: f32)
src/look_angles.rs:56
↓ 3 callers
Method
assert_not_looking_up
(&self)
src/look_angles.rs:60
↓ 3 callers
Method
get_yaw
(&self)
src/look_angles.rs:38
↓ 3 callers
Method
look_direction
(&self)
src/look_transform.rs:56
↓ 3 callers
Method
radius
(&self)
src/look_transform.rs:52
↓ 3 callers
Method
unit_vector
(self)
src/look_angles.rs:24
↓ 2 callers
Method
set_pitch
(&mut self, pitch: f32)
src/look_angles.rs:46
↓ 2 callers
Method
set_yaw
(&mut self, yaw: f32)
src/look_angles.rs:34
↓ 1 callers
Function
eye_look_at_target_transform
(eye: Vec3, target: Vec3, up: Vec3)
src/look_transform.rs:61
↓ 1 callers
Method
get_pitch
(&self)
src/look_angles.rs:52
↓ 1 callers
Method
reset
(&mut self)
src/look_transform.rs:129
↓ 1 callers
Method
set_direction
(&mut self, v: Vec3)
src/look_angles.rs:28
↓ 1 callers
Method
smooth_transform
(&mut self, new_tfm: &LookTransform)
src/look_transform.rs:111
↓ 1 callers
Function
unit_vector_from_yaw_and_pitch
(yaw: f32, pitch: f32)
src/look_angles.rs:102
Method
build
(&self, app: &mut App)
src/look_transform.rs:9
Method
build
(&self, app: &mut App)
src/controllers/fps.rs:28
Method
build
(&self, app: &mut App)
src/controllers/unreal.rs:31
Method
build
(&self, app: &mut App)
src/controllers/orbit.rs:31
Function
control_system
( mut messages: MessageReader<ControlMessage>, mut cameras: Query<(&FpsCameraController, &mut LookTran
src/controllers/fps.rs:137
Function
control_system
( time: Res<Time>, mut events: MessageReader<ControlMessage>, mut cameras: Query<(&UnrealCameraCon
src/controllers/unreal.rs:232
Function
control_system
( time: Res<Time>, mut messages: MessageReader<ControlMessage>, mut cameras: Query<(&OrbitCameraCo
src/controllers/orbit.rs:152
Method
default
()
src/look_transform.rs:38
Method
default
()
src/controllers/fps.rs:75
Method
default
()
src/controllers/unreal.rs:94
Method
default
()
src/controllers/orbit.rs:80
Function
default_input_map
( mut messages: MessageWriter<ControlMessage>, keyboard: Res<ButtonInput<KeyCode>>, mut mouse_moti
src/controllers/fps.rs:93
Function
default_input_map
( mut messages: MessageWriter<ControlMessage>, mut mouse_wheel_reader: MessageReader<MouseWheel>,
src/controllers/unreal.rs:116
Function
default_input_map
( mut messages: MessageWriter<ControlMessage>, mut mouse_wheel_reader: MessageReader<MouseWheel>,
src/controllers/orbit.rs:101
Method
from
(t: LookTransform)
src/look_transform.rs:32
Method
from_vector
(v: Vec3)
src/look_angles.rs:17
Function
look_transform_system
( mut cameras: Query<(&LookTransform, &mut Transform, Option<&mut Smoother>)>, )
src/look_transform.rs:134
Function
main
()
examples/simple_look_transform.rs:4
Function
main
()
examples/simple_unreal.rs:7
Function
main
()
examples/simple_orbit.rs:7
Function
main
()
examples/simple_fps.rs:7
Method
new
(eye: Vec3, target: Vec3, up: Vec3)
src/look_transform.rs:48
Method
new
(override_input_system: bool)
src/controllers/fps.rs:20
Method
new
(override_input_system: bool)
src/controllers/unreal.rs:23
Method
new
(override_input_system: bool)
src/controllers/orbit.rs:23
Method
set_enabled
(&mut self, enabled: bool)
src/look_transform.rs:98
Method
set_lag_weight
(&mut self, lag_weight: f32)
src/look_transform.rs:107
Function
setup
setup a simple 3D scene
examples/simple_look_transform.rs:13
Function
setup
set up a simple 3D scene
examples/simple_unreal.rs:17
Function
setup
set up a simple 3D scene
examples/simple_orbit.rs:17
Function
setup
set up a simple 3D scene
examples/simple_fps.rs:17
Function
test_pitch_only
()
src/look_angles.rs:145
Function
test_yaw_and_pitch
()
src/look_angles.rs:156
Function
test_yaw_and_pitch_identity
()
src/look_angles.rs:125
Function
test_yaw_only
()
src/look_angles.rs:134