/**
 * Copyright(c) Live2D Inc. All rights reserved.
 *
 * Use of this source code is governed by the Live2D Open Software license
 * that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
 */
using Live2D.Cubism.Core;
using UnityEngine;
namespace Live2D.Cubism.Framework.Raycasting
{
    /// 
    /// Contains raycast information.
    /// 
    public struct CubismRaycastHit
    {
        /// 
        /// The hit .
        /// 
        public CubismDrawable Drawable;
        /// 
        /// The distance the ray traveled until it hit the .
        /// 
        public float Distance;
        /// 
        /// The hit position local to the .
        /// 
        public Vector3 LocalPosition;
        /// 
        /// The hit position in world coordinates.
        /// 
        public Vector3 WorldPosition;
    }
}