Struct BShkbAnimationGraph

Source
#[repr(C)]
pub struct BShkbAnimationGraph {
Show 32 fields pub __base: BSIRagdollDriver, pub __base1: BSIntrusiveRefCounted, pub __base2: BSTEventSource<BSTransformDeltaEvent>, pub __base3: BSTEventSource<BSAnimationGraphEvent>, pub character_instance: hkbCharacter, pub bone_nodes: BSTArray<BoneNodeEntry>, pub fade_controllers: BSTArray<*mut BShkFloatController>, pub unk190: BSTArray<*mut c_void>, pub unk1A8: BSTArray<*mut c_void>, pub unk1C0: BSTArray<u8>, pub unk1D8: u64, pub unk1E0: u64, pub interpolation_time_offsets: [f32; 2], pub project_name: BSFixedString, pub project_db_data: *mut ID, pub project_data: *mut c_void, pub behavior_graph: *mut hkbBehaviorGraph, pub holder: *mut Actor, pub root_node: *mut BSFadeNode, pub generator_outputs: [*mut hkbGeneratorOutput; 2], pub interpolation_amounts: [f32; 2], pub physics_world: *mut bhkWorld, pub num_anim_bones: u16, pub unk242: u8, pub unk243: u8, pub unk244: u16, pub unk246: u8, pub unk247: u8, pub unk248: u8, pub do_foot_ik: u8, pub unk24A: u16, pub unk24C: u32,
}

Fields§

§__base: BSIRagdollDriver

Base classes

§__base1: BSIntrusiveRefCounted§__base2: BSTEventSource<BSTransformDeltaEvent>§__base3: BSTEventSource<BSAnimationGraphEvent>§character_instance: hkbCharacter

Members

§bone_nodes: BSTArray<BoneNodeEntry>§fade_controllers: BSTArray<*mut BShkFloatController>§unk190: BSTArray<*mut c_void>§unk1A8: BSTArray<*mut c_void>§unk1C0: BSTArray<u8>§unk1D8: u64§unk1E0: u64§interpolation_time_offsets: [f32; 2]§project_name: BSFixedString§project_db_data: *mut ID§project_data: *mut c_void§behavior_graph: *mut hkbBehaviorGraph§holder: *mut Actor§root_node: *mut BSFadeNode§generator_outputs: [*mut hkbGeneratorOutput; 2]§interpolation_amounts: [f32; 2]§physics_world: *mut bhkWorld§num_anim_bones: u16§unk242: u8§unk243: u8§unk244: u16§unk246: u8§unk247: u8§unk248: u8§do_foot_ik: u8§unk24A: u16§unk24C: u32

Implementations§

Source§

impl BShkbAnimationGraph

Source

pub fn get_graph_variable_bool( &self, variable_name: &BSFixedString, out: &mut bool, ) -> bool

Gets a boolean graph variable.

Source

pub fn get_graph_variable_float( &self, variable_name: &BSFixedString, out: &mut f32, ) -> bool

Gets a float graph variable.

Source

pub fn get_graph_variable_int( &self, variable_name: &BSFixedString, out: &mut i32, ) -> bool

Gets an integer graph variable.

Source

pub fn set_graph_variable_bool( &mut self, variable_name: &BSFixedString, value: bool, ) -> bool

Sets a boolean graph variable.

Source

pub fn set_graph_variable_float( &mut self, variable_name: &BSFixedString, value: f32, ) -> bool

Sets a float graph variable.

Source

pub fn set_graph_variable_int( &mut self, variable_name: &BSFixedString, value: i32, ) -> bool

Sets an integer graph variable.

Trait Implementations§

Source§

impl BSIntrusiveRefCountedTrait for BShkbAnimationGraph

Source§

fn inc_ref(&self) -> u32

Returns the value after +1 to the current value. Read more
Source§

fn dec_ref(&self) -> u32

Decrements the reference count and returns the value after decrementing. Read more
Source§

impl Debug for BShkbAnimationGraph

Source§

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

Formats the value using the given formatter. Read more

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more