s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Utility
Noise
chevron_left
Utility
class
Noise
Static Methods
functions
Fbm
functions
FbmVector
functions
Perlin
functions
PerlinField
functions
Simplex
functions
SimplexField
functions
ValueField
Noise
Provides access to coherent noise utilities. All of these functions should return between 0 and 1.
class
Sandbox.Utility
.
static
sealed
abstract
Sandbox.System
functions
Static Methods
7
Fbm
(
octaves
,
x
,
y
,
z
)
float
Fractional Brownian Motion noise, a.k.a. Fractal Perlin noise. For a thread-safe alternative with more options, use Sandbox.Utility.Noise.PerlinField(Sandbox.Utility.Noise.Parameters) with Sandbox.Utility.Noise.FractalParameters.
FbmVector
(
octaves
,
x
,
y
)
Vector3
Fractional Brownian Motion noise, a.k.a. Fractal Perlin noise.
Perlin
(
x
,
y
)
float
2D Perlin noise function. For a thread-safe alternative with more options, use Sandbox.Utility.Noise.PerlinField(Sandbox.Utility.Noise.Parameters).
PerlinField
(
parameters
)
INoiseField
Creates a Perlin noise field, which smoothly samples a grid of random gradients. Use a Sandbox.Utility.Noise.FractalParameters for the field to have multiple octaves.
Simplex
(
x
,
y
)
float
2D Simplex noise function. For a thread-safe alternative with more options, use Sandbox.Utility.Noise.SimplexField(Sandbox.Utility.Noise.Parameters).
SimplexField
(
parameters
)
INoiseField
Creates a Simplex noise field, a cheaper gradient noise function similar to Sandbox.Utility.Noise.PerlinField(Sandbox.Utility.Noise.Parameters). Use a Sandbox.Utility.Noise.FractalParameters for the field to have multiple octaves.
ValueField
(
parameters
)
INoiseField
Creates a Value noise field, effectively smoothly sampled white noise. Use a Sandbox.Utility.Noise.FractalParameters for the field to have multiple octaves.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.