Newer
Older
HoloAnatomy / Assets / HoloToolkit-Examples / Medical / Scripts / VolumeInformation.cs
SURFACEBOOK2\jackwynne on 25 May 2018 599 bytes v1
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.

using UnityEngine;

namespace HoloToolkit.Unity
{
    /// <summary>
    /// Holds data about a volume asset
    /// </summary>
    [CreateAssetMenu]
    public class VolumeInformation : ScriptableObject
    {
        [OpenLocalFolder] public string ImageSourceFolder;
        [HideInInspector] public Texture3D BakedTexture;

        public bool InferAlpha = true;

        public bool AutoSizeOnBake = true;
        public Int3 Size;
    }
}