Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing unnecessary controller visuals from the default HoloLens profile to reduce memory footprint #11166

Merged
merged 2 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 514da61389c049c0bdaf31b7f6970d33, type: 3}
m_Name: DefaultHoloLensControllerVisualizationProfile
m_EditorClassIdentifier:
isCustomProfile: 0
renderMotionControllers: 0
defaultControllerVisualizationType:
reference: Microsoft.MixedReality.Toolkit.Input.MixedRealityControllerVisualizer,
Microsoft.MixedReality.Toolkit.SDK
usePlatformModels: 1
platformModelMaterial: {fileID: 2100000, guid: 54322026142964d4084eda2478d9b1a2,
type: 2}
globalLeftControllerModel: {fileID: 0}
globalRightControllerModel: {fileID: 0}
globalLeftHandVisualizer: {fileID: 61451597023024772, guid: 6080fb9e3b49fda449e3d70daf6d2254,
type: 3}
globalRightHandVisualizer: {fileID: 3512491064599439886, guid: 7a857af0cb85b4a47b6ec8a1babcb73c,
type: 3}
controllerVisualizationSettings:
- description: Windows Mixed Reality Controller
controllerType:
reference: Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityController,
Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality
handedness: 3
usePlatformModels: 1
platformModelMaterial: {fileID: 0}
overrideModel: {fileID: 0}
controllerVisualizationType:
reference: Microsoft.MixedReality.Toolkit.Input.WindowsMixedRealityControllerVisualizer,
Microsoft.MixedReality.Toolkit.SDK
- description: HP Motion Controller
controllerType:
reference: Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.HPMotionController,
Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality
handedness: 3
usePlatformModels: 1
platformModelMaterial: {fileID: 0}
overrideModel: {fileID: 0}
controllerVisualizationType:
reference: Microsoft.MixedReality.Toolkit.Input.WindowsMixedRealityControllerVisualizer,
Microsoft.MixedReality.Toolkit.SDK
- description: Windows Mixed Reality Articulated Hand
controllerType:
reference: Microsoft.MixedReality.Toolkit.WindowsMixedReality.Input.WindowsMixedRealityArticulatedHand,
Microsoft.MixedReality.Toolkit.Providers.WindowsMixedReality
handedness: 3
usePlatformModels: 0
platformModelMaterial: {fileID: 0}
overrideModel: {fileID: 1227372834072826, guid: 378f91dbbff9e2343b27a467467750bf,
type: 3}
controllerVisualizationType:
reference: Microsoft.MixedReality.Toolkit.Input.BaseHandVisualizer, Microsoft.MixedReality.Toolkit

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ MonoBehaviour:
enableControllerMapping: 1
controllerMappingProfile: {fileID: 11400000, guid: 39ded1fd0711a0c448413d0e1ec4f7f3,
type: 2}
controllerVisualizationProfile: {fileID: 11400000, guid: 345c06fdf3732db46b96299bd3cba653,
controllerVisualizationProfile: {fileID: 11400000, guid: ac2477ca3c42e514f86bc810089ba605,
type: 2}
handTrackingProfile: {fileID: 11400000, guid: e445e6fda57508c46935bb141b7673a7,
type: 2}
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ MonoBehaviour:
enableControllerMapping: 1
controllerMappingProfile: {fileID: 11400000, guid: 39ded1fd0711a0c448413d0e1ec4f7f3,
type: 2}
controllerVisualizationProfile: {fileID: 11400000, guid: 345c06fdf3732db46b96299bd3cba653,
controllerVisualizationProfile: {fileID: 11400000, guid: ac2477ca3c42e514f86bc810089ba605,
keveleigh marked this conversation as resolved.
Show resolved Hide resolved
type: 2}
handTrackingProfile: {fileID: 11400000, guid: e445e6fda57508c46935bb141b7673a7,
type: 2}