mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 21:38:56 -05:00
24 lines
681 B
C#
24 lines
681 B
C#
using System;
|
|
using UnityEngine;
|
|
using VRM10.MToon10;
|
|
|
|
namespace VRM10.Samples.MToon10Showcase
|
|
{
|
|
#if VRM_DEVELOP
|
|
[CreateAssetMenu(menuName = "VRM10/Samples/MToon10Showcase/" + nameof(AlphaModeShowcase))]
|
|
#endif
|
|
public sealed class AlphaModeShowcase : ScriptableObject
|
|
{
|
|
public Material baseMaterial;
|
|
public AlphaModeEntry[] entries;
|
|
|
|
[Serializable]
|
|
public sealed class AlphaModeEntry
|
|
{
|
|
public MToon10AlphaMode alphaMode;
|
|
public MToon10TransparentWithZWriteMode transparentWithZWriteMode;
|
|
public float alphaCutoff;
|
|
public MToon10DoubleSidedMode doubleSidedMode;
|
|
}
|
|
}
|
|
} |