Class InfluenceVolume
Inheritance
InfluenceVolume
Syntax
[Serializable]
public class InfluenceVolume : IVersionable<InfluenceVolume.Version>, ISerializationCallbackReceiver
Properties
boxBlendDistanceNegative
Position of fade sub volume minOffset point relative to InfluenceVolume min corner.
Values between 0 (on InfluenceVolume hull) to half of boxSize corresponding axis.
Declaration
public Vector3 boxBlendDistanceNegative { get; set; }
Property Value
boxBlendDistancePositive
Position of fade sub volume maxOffset point relative to InfluenceVolume max corner.
Values between 0 (on InfluenceVolume hull) to half of boxSize corresponding axis.
Declaration
public Vector3 boxBlendDistancePositive { get; set; }
Property Value
boxBlendNormalDistanceNegative
Position of normal fade sub volume minOffset point relative to InfluenceVolume min corner.
Values between 0 (on InfluenceVolume hull) to half of boxSize corresponding axis (on origin for this axis).
Declaration
public Vector3 boxBlendNormalDistanceNegative { get; set; }
Property Value
boxBlendNormalDistancePositive
Position of normal fade sub volume maxOffset point relative to InfluenceVolume max corner.
Values between 0 (on InfluenceVolume hull) to half of boxSize corresponding axis (on origin for this axis).
Declaration
public Vector3 boxBlendNormalDistancePositive { get; set; }
Property Value
boxBlendNormalOffset
Offset of sub volume defining fading relative to normal orientation.
Declaration
public Vector3 boxBlendNormalOffset { get; }
Property Value
boxBlendNormalSize
Size of sub volume defining fading relative to normal orientation.
Declaration
public Vector3 boxBlendNormalSize { get; }
Property Value
boxBlendOffset
Offset of sub volume defining fading.
Declaration
public Vector3 boxBlendOffset { get; }
Property Value
boxBlendSize
Size of sub volume defining fading.
Declaration
public Vector3 boxBlendSize { get; }
Property Value
boxSideFadeNegative
Define fading percent of -X, -Y and -Z locally oriented face. (values from 0 to 1)
Declaration
public Vector3 boxSideFadeNegative { get; set; }
Property Value
boxSideFadePositive
Define fading percent of +X, +Y and +Z locally oriented face. (values from 0 to 1)
Declaration
public Vector3 boxSideFadePositive { get; set; }
Property Value
boxSize
Size of the InfluenceVolume in Box Mode.
Declaration
public Vector3 boxSize { get; set; }
Property Value
extents
Get the extents of the influence.
Declaration
public Vector3 extents { get; }
Property Value
shape
Shape of this InfluenceVolume.
Declaration
public InfluenceShape shape { get; set; }
Property Value
sphereBlendDistance
Offset of the fade sub volume from InfluenceVolume hull.
Value between 0 (on InfluenceVolume hull) and sphereRadius (fade sub volume reduced to a point).
Declaration
public float sphereBlendDistance { get; set; }
Property Value
sphereBlendNormalDistance
Offset of the normal fade sub volume from InfluenceVolume hull.
Value between 0 (on InfluenceVolume hull) and sphereRadius (fade sub volume reduced to a point).
Declaration
public float sphereBlendNormalDistance { get; set; }
Property Value
sphereRadius
Radius of the InfluenceVolume in Sphere Mode.
Declaration
public float sphereRadius { get; set; }
Property Value
Methods
ComputeHash()
Compute a hash of the influence properties.
Declaration
public Hash128 ComputeHash()
Returns
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
Explicit Interface Implementations
IVersionable<InfluenceVolume.Version>.version
Declaration
InfluenceVolume.Version IVersionable<InfluenceVolume.Version>.version { get; set; }
Returns
| Type |
Description |
| UnityEngine.Experimental.Rendering.HDPipeline.InfluenceVolume.Version |
|
Implements