pub struct GitSound {
pub raw: GffStruct,
pub tag: Option<String>,
pub localized_name: Option<GffCExoLocString>,
pub template_resref: Option<String>,
pub transform: GitTransform,
pub positional: Option<bool>,
pub min_distance: Option<f32>,
pub max_distance: Option<f32>,
pub volume: Option<i32>,
pub sounds: Vec<GitSoundRef>,
}Expand description
Fields§
§raw: GffStructOriginal raw GFF structure.
tag: Option<String>Instance tag.
localized_name: Option<GffCExoLocString>Localized display name.
template_resref: Option<String>Template resource reference.
transform: GitTransformWorld transform.
positional: Option<bool>Whether the sound is positional.
min_distance: Option<f32>Minimum audible distance.
max_distance: Option<f32>Maximum audible distance.
volume: Option<i32>Base volume.
sounds: Vec<GitSoundRef>Referenced sound entries.
Trait Implementations§
impl StructuralPartialEq for GitSound
Auto Trait Implementations§
impl Freeze for GitSound
impl RefUnwindSafe for GitSound
impl Send for GitSound
impl Sync for GitSound
impl Unpin for GitSound
impl UnsafeUnpin for GitSound
impl UnwindSafe for GitSound
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more