#[repr(C)]pub struct BSAnimationGraphVariableCache {
pub variable_cache: BSTArray<AnimVariableCacheInfo>,
pub update_lock: BSSpinLock,
pub animation_graph: BSTSmartPointer<BShkbAnimationGraph>,
}
Fields§
§variable_cache: BSTArray<AnimVariableCacheInfo>
Cache of animation variables.
Offset: 0x00
update_lock: BSSpinLock
Lock for updating cache.
Offset: 0x18
animation_graph: BSTSmartPointer<BShkbAnimationGraph>
Smart pointer to the animation graph (SE only).
Offset: 0x20
(SE), 0x28
(AE)
Implementations§
Source§impl BSAnimationGraphVariableCache
impl BSAnimationGraphVariableCache
Sourcepub fn get_graph_lock(&mut self) -> Option<&mut BSSpinLock>
pub fn get_graph_lock(&mut self) -> Option<&mut BSSpinLock>
Gets the graph lock (Skyrim AE only).
Sourcepub fn get_animation_graph(
&self,
) -> Result<&BSTSmartPointer<BShkbAnimationGraph>, RelocationError>
pub fn get_animation_graph( &self, ) -> Result<&BSTSmartPointer<BShkbAnimationGraph>, RelocationError>
Gets the animation graph (SE only).
§Errors
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BSAnimationGraphVariableCache
impl RefUnwindSafe for BSAnimationGraphVariableCache
impl !Send for BSAnimationGraphVariableCache
impl !Sync for BSAnimationGraphVariableCache
impl Unpin for BSAnimationGraphVariableCache
impl UnwindSafe for BSAnimationGraphVariableCache
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