| 12345678910111213141516171819202122232425262728293031323334353637383940 | /** * 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{    /// <summary>    /// Contains raycast information.    /// </summary>    public struct CubismRaycastHit    {        /// <summary>        /// The hit <see cref="CubismDrawable"/>.        /// </summary>        public CubismDrawable Drawable;        /// <summary>        /// The distance the ray traveled until it hit the <see cref="CubismDrawable"/>.        /// </summary>        public float Distance;        /// <summary>        /// The hit position local to the <see cref="CubismDrawable"/>.        /// </summary>        public Vector3 LocalPosition;        /// <summary>        /// The hit position in world coordinates.        /// </summary>        public Vector3 WorldPosition;    }}
 |