This documentation is for a prerelease version of O3DE. Click here to switch to the latest release, or select a version from the dropdown.

Version:

Random Noise Gradient Component

Add the Random Noise Gradient component to generate a gradient with random noise.

Provider

Gradient Signal Gem

Dependencies

Gradient Transform Modifier

Random Noise Gradient properties

Random Noise Gradient properties

PropertyDescriptionValuesDefault
Generate Random SeedSets the Random Seed property below to a random value.
PreviewDisplays the output gradient of this component after all properties are applied.
Pin Preview to ShapeSets an entity with a compatible Shape component to use as the bounds of the preview if Constrain to Shape is Enabled.EntityIdCurrent Entity
Preview PositionSets the world location of the preview.

This field is available only if there is no entity selected in Pin Preview to Shape.
Vector3: -Infinity to InfinityX:0.0, Y:0.0, Z:0.0
Preview SizeSets the dimensions of the preview.Vector3: 0.0 to InfinityX:1.0, Y:1.0, Z:1.0
Constrain to ShapeIf Enabled, the gradient preview uses the bounds of the entity selected in Pin Preview to Shape.

This field is available only if an entity is selected in Pin Preview to Shape.
BooleanDisabled
Random SeedSets the seed value for the noise generation algorithm. Each value generates a distinct pattern of noise.Integer: 1 to Infinity1

RandomGradientRequestBus

Use the following request functions with the RandomGradientRequestBus EBus interface to communicate with Random Noise Gradient components in your game.

Request NameDescriptionParameterReturnScriptable
GetRandomSeedReturns the value of the Random Seed property.NoneSeed: IntegerYes
SetRandomSeedSets the value of the Random Seed property.Seed: IntegerNoneYes