A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FScopedMeshBoneUpdateOverrideVR Struct Reference

#include <CharacterMovementCompTypes.h>

Public Member Functions

 FScopedMeshBoneUpdateOverrideVR (USkeletalMeshComponent *Mesh, EKinematicBonesUpdateToPhysics::Type OverrideSetting)
 
 ~FScopedMeshBoneUpdateOverrideVR ()
 

Private Attributes

USkeletalMeshComponentMeshRef
 
EKinematicBonesUpdateToPhysics::Type SavedUpdateSetting
 

Detailed Description

Helper to change mesh bone updates within a scope. Example usage: { FScopedPreventMeshBoneUpdate ScopedNoMeshBoneUpdate(CharacterOwner->GetMesh(), EKinematicBonesUpdateToPhysics::SkipAllBones); // Do something to move mesh, bones will not update } // Movement of mesh at this point will use previous setting.

Definition at line 628 of file CharacterMovementCompTypes.h.

Constructor & Destructor Documentation

◆ FScopedMeshBoneUpdateOverrideVR()

FScopedMeshBoneUpdateOverrideVR::FScopedMeshBoneUpdateOverrideVR ( USkeletalMeshComponent * Mesh,
EKinematicBonesUpdateToPhysics::Type OverrideSetting )
inline

Definition at line 630 of file CharacterMovementCompTypes.h.

◆ ~FScopedMeshBoneUpdateOverrideVR()

FScopedMeshBoneUpdateOverrideVR::~FScopedMeshBoneUpdateOverrideVR ( )
inline

Definition at line 642 of file CharacterMovementCompTypes.h.

Member Data Documentation

◆ MeshRef

USkeletalMeshComponent* FScopedMeshBoneUpdateOverrideVR::MeshRef
private

Definition at line 652 of file CharacterMovementCompTypes.h.

◆ SavedUpdateSetting

EKinematicBonesUpdateToPhysics::Type FScopedMeshBoneUpdateOverrideVR::SavedUpdateSetting
private

Definition at line 653 of file CharacterMovementCompTypes.h.


The documentation for this struct was generated from the following file: