// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Microsoft.MixedReality.Toolkit.Utilities.Gltf.Schema { [Serializable] public class GltfMaterialCommonConstant : GltfProperty { // Note: GltfMaterialCommonConstants aren't currently used but exist for deserializing jsons. // These values would influence properties in Unity -> Window -> Rendering -> Light Settings if used. /// /// Used to scale the ambient light contributions to this material /// public float[] ambientFactor; /// /// Texture used to store pre-computed direct lighting /// public GltfNormalTextureInfo lightmapTexture; /// /// Scale factor for the lightmap texture /// public float[] lightmapFactor; } }