private readonly int _Color | Shader property ID for the colour. |
private readonly int _EdgePower | Shader property ID for the edge power. |
private readonly int _Glossiness | Shader property ID for smoothness. |
private readonly int _MaximumAlpha | Shader property ID for the maximum alpha. |
private AnimationCurve alphaMultiplierHeadDistance | Curve from head distance to alpha multiplier. |
private Material androidMaterial | Backing field for AndroidMaterial. |
private Color badColor | Colour blended in when a held item can't go in the dock. |
private Material closeMaterial | Material used within maximumEvaluationDistance of the head. |
private Color defaultColor | Backing field for DefaultColor. |
private static Dictionary<PickupDockVisualSettings, Material> defaultSharedMaterials | One shared far material per settings asset, created on first use. |
private float dockedAlphaMultiplier | Alpha and smoothness multiplier when the dock already holds something. |
private Material farMaterial | Template for the shared material used beyond the evaluation distance. |
private Color goodColor | Colour blended in when a held item fits the dock. |
private float hoverEdgePower | Edge power while the dock is hovered. |
private float hoverPulseSpeed | Backing field for HoverPulseSpeed. |
private float hoverScale | Backing field for HoverScale. |
private float lerpSpeed | How fast the shader values ease towards their targets. |
private float maximumAlpha | Highest bubble alpha (default 0.7). |
private float maximumEvaluationDistance | Head distance within which bubbles are fully evaluated (default 10). |
private float maximumSmoothness | Highest bubble smoothness (default 0.8). |
private float normalEdgePower | Edge power when not hovered. |
private MaterialPropertyBlock propertyBlock | Reused property block for the near-player shader values. |
private AnimationCurve weightHandDistance | Curve from hand-to-dock distance to how much that hand's item affects the colour. |