MCPcopy Create free account
hub / github.com/DruidMech/MultiplayerCourseMenuSystem / OnResetVR

Method OnResetVR

Source/MenuSystem/MenuSystemCharacter.cpp:242–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240
241
242void AMenuSystemCharacter::OnResetVR()
243{
244 // If MenuSystem is added to a project via 'Add Feature' in the Unreal Editor the dependency on HeadMountedDisplay in MenuSystem.Build.cs is not automatically propagated
245 // and a linker error will result.
246 // You will need to either:
247 // Add "HeadMountedDisplay" to [YourProject].Build.cs PublicDependencyModuleNames in order to build successfully (appropriate if supporting VR).
248 // or:
249 // Comment or delete the call to ResetOrientationAndPosition below (appropriate if not supporting VR)
250 UHeadMountedDisplayFunctionLibrary::ResetOrientationAndPosition();
251}
252
253void AMenuSystemCharacter::TouchStarted(ETouchIndex::Type FingerIndex, FVector Location)
254{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected