docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PolySpatialShaderProperties

    Shader properties specific to custom PolySpatial ShaderGraph nodes.

    Inheritance
    object
    PolySpatialShaderProperties
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.PolySpatial
    Assembly: Unity.PolySpatial.dll
    Syntax
    [Obsolete("This class will be removed in PolySpatial 2.x onwards.")]
    public static class PolySpatialShaderProperties

    Fields

    Lightmap

    Property name for the directional lightmap texture.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string Lightmap = "polySpatial_Lightmap"
    Field Value
    Type Description
    string

    LightmapInd

    Property name for the lightmap index

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string LightmapInd = "polySpatial_LightmapInd"
    Field Value
    Type Description
    string

    LightmapST

    Property name for the lightmap texture scale and offset.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string LightmapST = "polySpatial_LightmapST"
    Field Value
    Type Description
    string

    ObjectBoundsCenter

    Property name for the center of the object's bounds.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string ObjectBoundsCenter = "polySpatial_ObjectBoundsCenter"
    Field Value
    Type Description
    string

    ObjectBoundsExtents

    Property name for the extents of the object's bounds.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string ObjectBoundsExtents = "polySpatial_ObjectBoundsExtents"
    Field Value
    Type Description
    string

    ReflectionProbeCount

    Max number of reflection probes supported by PolySpatial.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const int ReflectionProbeCount = 2
    Field Value
    Type Description
    int

    ReflectionProbeTexturePrefix

    Prefix for reflection probe texture property names.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string ReflectionProbeTexturePrefix = "polySpatial_SpecCube"
    Field Value
    Type Description
    string

    ReflectionProbeWeightPrefix

    Prefix for reflection probe weight property names.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string ReflectionProbeWeightPrefix = "polySpatial_SpecCubeWeight"
    Field Value
    Type Description
    string

    SHAb

    SHAb component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHAb = "polySpatial_SHAb"
    Field Value
    Type Description
    string

    SHAg

    SHAg component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHAg = "polySpatial_SHAg"
    Field Value
    Type Description
    string

    SHAr

    SHAr component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHAr = "polySpatial_SHAr"
    Field Value
    Type Description
    string

    SHBb

    SHBb component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHBb = "polySpatial_SHBb"
    Field Value
    Type Description
    string

    SHBg

    SHBg component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHBg = "polySpatial_SHBg"
    Field Value
    Type Description
    string

    SHBr

    SHBr component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHBr = "polySpatial_SHBr"
    Field Value
    Type Description
    string

    SHC

    SHC component of the baked light probes.

    Declaration
    [Obsolete("This property will be removed in PolySpatial 2.x onwards.")]
    public const string SHC = "polySpatial_SHC"
    Field Value
    Type Description
    string

    VolumeToWorld

    Property name for the PolySpatial Volume To World matrix.

    Declaration
    [Obsolete("This property will be removed in 2.x onwards.")]
    public const string VolumeToWorld = "polySpatial_VolumeToWorld"
    Field Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)