Skip to main content

CameraSettings

Struct CameraSettings 

Source
pub struct CameraSettings {
Show 62 fields pub static_rope_threshold: Option<i32>, pub obstacle_size: Option<i32>, pub camera_size: Option<i32>, pub camera_scape_size: Option<i32>, pub target_offset_x: Option<i32>, pub target_offset_y: Option<i32>, pub target_offset_z: Option<i32>, pub offset_pos_x: Option<i32>, pub offset_pos_y: Option<i32>, pub offset_pos_z: Option<i32>, pub offset_angle_x: Option<i32>, pub offset_angle_y: Option<i32>, pub offset_angle_z: Option<i32>, pub camera_distance: Option<i32>, pub camera_min_distance: Option<i32>, pub camera_right_pos: Option<i32>, pub camera_left_pos: Option<i32>, pub camera_combat_angle_offset_x: Option<i32>, pub camera_combat_angle_offset_y: Option<i32>, pub camera_combat_angle_offset_z: Option<i32>, pub camera_combat_distance: Option<i32>, pub camera_hang_angle_offset_x: Option<i32>, pub camera_hang_angle_offset_y: Option<i32>, pub camera_hang_angle_offset_z: Option<i32>, pub camera_hang_distance: Option<i32>, pub camera_rope_max_vel: Option<i32>, pub camera_rope_angle_offset_x: Option<i32>, pub camera_rope_angle_offset_y: Option<i32>, pub camera_rope_angle_offset_z: Option<i32>, pub camera_rope_distance: Option<i32>, pub camera_rope_above_angle_offset_x: Option<i32>, pub camera_rope_above_angle_offset_y: Option<i32>, pub camera_rope_above_angle_offset_z: Option<i32>, pub camera_rope_above_distance: Option<i32>, pub camera_rope_above_aim_x: Option<i32>, pub camera_rope_above_aim_y: Option<i32>, pub camera_rope_above_aim_z: Option<i32>, pub camera_rope_below_angle_offset_x: Option<i32>, pub camera_rope_below_angle_offset_y: Option<i32>, pub camera_rope_below_angle_offset_z: Option<i32>, pub camera_rope_below_distance: Option<i32>, pub camera_rope_below_aim_x: Option<i32>, pub camera_rope_below_aim_y: Option<i32>, pub camera_rope_below_aim_z: Option<i32>, pub camera_debug_angle_offset_x: Option<i32>, pub camera_debug_angle_offset_y: Option<i32>, pub camera_debug_angle_offset_z: Option<i32>, pub camera_debug_distance: Option<i32>, pub max_x_angle: Option<i32>, pub min_x_angle: Option<i32>, pub max_vel: Option<i32>, pub max_y_vel: Option<i32>, pub max_acc: Option<i32>, pub player_control_x_inc: Option<i32>, pub player_control_y_inc: Option<i32>, pub glide_x: Option<f32>, pub glide_y: Option<f32>, pub glide_z: Option<f32>, pub glide_angle_x: Option<f32>, pub glide_angle_y: Option<f32>, pub glide_angle_z: Option<f32>, pub cam_prox_up: Option<f32>,
}
Expand description

Settings from [camera]. Numeric codes retain their stored values.

Fields§

§static_rope_threshold: Option<i32>§obstacle_size: Option<i32>§camera_size: Option<i32>§camera_scape_size: Option<i32>§target_offset_x: Option<i32>§target_offset_y: Option<i32>§target_offset_z: Option<i32>§offset_pos_x: Option<i32>§offset_pos_y: Option<i32>§offset_pos_z: Option<i32>§offset_angle_x: Option<i32>§offset_angle_y: Option<i32>§offset_angle_z: Option<i32>§camera_distance: Option<i32>§camera_min_distance: Option<i32>§camera_right_pos: Option<i32>§camera_left_pos: Option<i32>§camera_combat_angle_offset_x: Option<i32>§camera_combat_angle_offset_y: Option<i32>§camera_combat_angle_offset_z: Option<i32>§camera_combat_distance: Option<i32>§camera_hang_angle_offset_x: Option<i32>§camera_hang_angle_offset_y: Option<i32>§camera_hang_angle_offset_z: Option<i32>§camera_hang_distance: Option<i32>§camera_rope_max_vel: Option<i32>§camera_rope_angle_offset_x: Option<i32>§camera_rope_angle_offset_y: Option<i32>§camera_rope_angle_offset_z: Option<i32>§camera_rope_distance: Option<i32>§camera_rope_above_angle_offset_x: Option<i32>§camera_rope_above_angle_offset_y: Option<i32>§camera_rope_above_angle_offset_z: Option<i32>§camera_rope_above_distance: Option<i32>§camera_rope_above_aim_x: Option<i32>§camera_rope_above_aim_y: Option<i32>§camera_rope_above_aim_z: Option<i32>§camera_rope_below_angle_offset_x: Option<i32>§camera_rope_below_angle_offset_y: Option<i32>§camera_rope_below_angle_offset_z: Option<i32>§camera_rope_below_distance: Option<i32>§camera_rope_below_aim_x: Option<i32>§camera_rope_below_aim_y: Option<i32>§camera_rope_below_aim_z: Option<i32>§camera_debug_angle_offset_x: Option<i32>§camera_debug_angle_offset_y: Option<i32>§camera_debug_angle_offset_z: Option<i32>§camera_debug_distance: Option<i32>§max_x_angle: Option<i32>§min_x_angle: Option<i32>§max_vel: Option<i32>§max_y_vel: Option<i32>§max_acc: Option<i32>§player_control_x_inc: Option<i32>§player_control_y_inc: Option<i32>§glide_x: Option<f32>§glide_y: Option<f32>§glide_z: Option<f32>§glide_angle_x: Option<f32>§glide_angle_y: Option<f32>§glide_angle_z: Option<f32>§cam_prox_up: Option<f32>

Trait Implementations§

Source§

impl Clone for CameraSettings

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CameraSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CameraSettings

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for CameraSettings

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for CameraSettings

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for CameraSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<U, T> ToOwnedObj<U> for T
where U: FromObjRef<T>,

Source§

fn to_owned_obj(&self, data: FontData<'_>) -> U

Convert this type into T, using the provided data to resolve any offsets.
Source§

impl<U, T> ToOwnedTable<U> for T
where U: FromTableRef<T>,

Source§

fn to_owned_table(&self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.