Exemple #1
0
        // Use this for initialization
        void Awake()
        {
            // Enable Hololens commands for starting and stopping texture capture
            Interactions.EnableVoiceCommand(Constants.Commands.VoiceCommandsEnum.BeginRoomTexture);
            Interactions.EnableVoiceCommand(Constants.Commands.VoiceCommandsEnum.EndRoomTexture);

            RoomMeshLoaded         += TextureManager_RoomMeshLoaded;
            TextureCaptureFinished += TextureManager_TextureCaptureFinished;

            CentralProcessor.UpdateRenderMethodUsed(true);
        }
Exemple #2
0
 private void TextureManager_TextureCaptureFinished()
 {
     CentralProcessor.GenerateTexturePrefab();
     CentralProcessor.UpdateRenderMethodUsed();
 }