12345678910111213141516171819202122232425262728293031323334353637 |
- /**
- * 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.
- */
- namespace Live2D.Cubism.Rendering
- {
- /// <summary>
- /// <see cref="Core.CubismDrawable"/> render sort modes.
- /// </summary>
- public enum CubismSortingMode
- {
- /// <summary>
- /// Painter's algorithm sorting that works well with other Unity elements. Offsets by depth.
- /// </summary>
- BackToFrontZ,
- /// <summary>
- /// Offset by depth from front to back.
- /// </summary>
- FrontToBackZ,
- /// <summary>
- /// Offsets by Unity's sorting order from back to front.
- /// </summary>
- BackToFrontOrder,
- /// <summary>
- /// Offsets by Unity's sorting order from front to back.
- /// </summary>
- FrontToBackOrder
- }
- }
|