Meta_Ocean

An Ocean draws water.

Public Types


enum IDX

Property index.

Idx_Enabled

bool - Enables the ocean

Idx_SeaState

float - Overall roughness of the ocean

Idx_Reflectivity

float - How much incoming light should be reflected in the water

Idx_Ambient

float - How much ambient light is picked up in the water colour

Idx_Extinction

float - Amount of light penetration in the water

Idx_ExtinctionColour

vec3f - Filtered light colour; RGB 0.0f to 1.0f

Idx_Scattering

float - How many particles are in the water to reflect light

Idx_ScatterColour

vec3f - The colour of light reflected from the scattering particles

Idx_SeaLevel

float - Base height of the ocean in metres

Idx_Animate

bool - When enabled, the ocean waves are animated

Idx_FixedTime

float - Fixed time value which the oceans state is based off

Idx_DisplacementScale

float - Scale of wave displacement

Idx_Spray

bool - Whether to enable spray particle effects on cresting waves

Idx_WindDir

vec3f - Direction of the wind

Idx_WindBias

float - Bias of the wind

Idx_WindLanesEnabled

Internal / reserved.

Idx_WindLanesWaveAmplitude

Internal / reserved.

Idx_WindLanesWaveWavelength

Internal / reserved.

Idx_WindLanesWaveSpeed

Internal / reserved.

Idx_WindLanesWaveSteepness

Internal / reserved.

Idx_LocalReflection

bool - enable reflections on the ocean surface

Idx_LocalReflectionQuality

float - resolution of the ocean surface reflections

Idx_DistanceScale
Idx_DepthScale
Idx_SurfaceLightingDepth

float - Controls how much of the scattered light is affected by local lights and shadows when rendering the water surface

Idx_CausticsSize

float - size of the caustic pattern that appears underwater

Idx_CausticsStrength

float - intensity of the caustic outlines

Idx_CausticsExtinction

bool - whether or not caustic patterns are affected by extinction

Idx_UnderwaterEffects

bool - when enabled show underwater extinction and scattering effects

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API