// SPDX-FileCopyrightText: 2023 Unity Technologies and the glTFast authors
// SPDX-License-Identifier: Apache-2.0
namespace GLTFast.Schema
{
///
/// Extension for optical transparency (transmission)
///
///
[System.Serializable]
public class Transmission
{
///
/// The base fraction of light that is transmitted through the surface.
///
public float transmissionFactor;
///
/// A texture that defines the transmission fraction of the surface,
/// stored in the R channel. This will be multiplied by
/// transmissionFactor.
///
public TextureInfo transmissionTexture;
internal void GltfSerialize(JsonWriter writer)
{
writer.AddObject();
writer.Close();
throw new System.NotImplementedException($"GltfSerialize missing on {GetType()}");
}
}
}