Blender V5.3
blender::OceanModifierData Struct Reference

#include <DNA_modifier_types.h>

Public Attributes

ModifierData modifier
struct Ocean * ocean = nullptr
struct OceanCache * oceancache = nullptr
int resolution = 7
int viewport_resolution = 7
int spatial_size = 50
float wind_velocity = 30.0f
float damp = 0.5f
float smallest_wave = 0.01f
float depth = 200.0f
float wave_alignment = 0.0f
float wave_direction = 0.0f
float wave_scale = 1.0f
float chop_amount = 1.0f
float foam_coverage = 0.0f
float time = 1.0f
OceanModifierSpectrum spectrum = MOD_OCEAN_SPECTRUM_PHILLIPS
float fetch_jonswap = 120.0f
float sharpen_peak_jonswap = 0.0f
int bakestart = 1
int bakeend = 250
char cachepath [1024] = ""
char foamlayername [68] = ""
char spraylayername [68] = ""
char cached = 0
OceanModifierGeometryMode geometry_mode = MOD_OCEAN_GEOM_GENERATE
OceanModifierFlag flag = {}
char _pad2 = {}
short repeat_x = 1
short repeat_y = 1
int seed = 0
float size = 1.0f
float foam_fade = 0.98f
char _pad [4] = {}

Detailed Description

Definition at line 1459 of file DNA_modifier_types.h.

Member Data Documentation

◆ _pad

char blender::OceanModifierData::_pad[4] = {}

Definition at line 1519 of file DNA_modifier_types.h.

◆ _pad2

char blender::OceanModifierData::_pad2 = {}

Definition at line 1508 of file DNA_modifier_types.h.

◆ bakeend

int blender::OceanModifierData::bakeend = 250

Definition at line 1498 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ bakestart

int blender::OceanModifierData::bakestart = 1

Definition at line 1497 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ cached

char blender::OceanModifierData::cached = 0

◆ cachepath

char blender::OceanModifierData::cachepath[1024] = ""

◆ chop_amount

float blender::OceanModifierData::chop_amount = 1.0f

Definition at line 1482 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ damp

float blender::OceanModifierData::damp = 0.5f

Definition at line 1474 of file DNA_modifier_types.h.

◆ depth

float blender::OceanModifierData::depth = 200.0f

Definition at line 1476 of file DNA_modifier_types.h.

◆ fetch_jonswap

float blender::OceanModifierData::fetch_jonswap = 120.0f

This is the distance from a lee shore, called the fetch, or the distance over which the wind blows with constant velocity.

Definition at line 1494 of file DNA_modifier_types.h.

Referenced by blender::blo_do_versions_280().

◆ flag

OceanModifierFlag blender::OceanModifierData::flag = {}

Definition at line 1507 of file DNA_modifier_types.h.

◆ foam_coverage

float blender::OceanModifierData::foam_coverage = 0.0f

Definition at line 1483 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ foam_fade

float blender::OceanModifierData::foam_fade = 0.98f

Definition at line 1517 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ foamlayername

char blender::OceanModifierData::foamlayername[68] = ""

Definition at line 1502 of file DNA_modifier_types.h.

◆ geometry_mode

OceanModifierGeometryMode blender::OceanModifierData::geometry_mode = MOD_OCEAN_GEOM_GENERATE

Definition at line 1505 of file DNA_modifier_types.h.

◆ modifier

ModifierData blender::OceanModifierData::modifier

Definition at line 1460 of file DNA_modifier_types.h.

◆ ocean

struct Ocean* blender::OceanModifierData::ocean = nullptr

◆ oceancache

◆ repeat_x

short blender::OceanModifierData::repeat_x = 1

Definition at line 1510 of file DNA_modifier_types.h.

◆ repeat_y

short blender::OceanModifierData::repeat_y = 1

Definition at line 1511 of file DNA_modifier_types.h.

◆ resolution

int blender::OceanModifierData::resolution = 7

◆ seed

int blender::OceanModifierData::seed = 0

Definition at line 1513 of file DNA_modifier_types.h.

◆ sharpen_peak_jonswap

float blender::OceanModifierData::sharpen_peak_jonswap = 0.0f

Definition at line 1495 of file DNA_modifier_types.h.

Referenced by blender::blo_do_versions_290().

◆ size

float blender::OceanModifierData::size = 1.0f

Definition at line 1515 of file DNA_modifier_types.h.

◆ smallest_wave

float blender::OceanModifierData::smallest_wave = 0.01f

Definition at line 1475 of file DNA_modifier_types.h.

◆ spatial_size

int blender::OceanModifierData::spatial_size = 50

Definition at line 1470 of file DNA_modifier_types.h.

◆ spectrum

OceanModifierSpectrum blender::OceanModifierData::spectrum = MOD_OCEAN_SPECTRUM_PHILLIPS

Spectrum being used.

Definition at line 1487 of file DNA_modifier_types.h.

◆ spraylayername

char blender::OceanModifierData::spraylayername[68] = ""

Definition at line 1503 of file DNA_modifier_types.h.

◆ time

float blender::OceanModifierData::time = 1.0f

Definition at line 1484 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ viewport_resolution

int blender::OceanModifierData::viewport_resolution = 7

Viewport resolution for the non-render case.

Definition at line 1468 of file DNA_modifier_types.h.

Referenced by blender::blo_do_versions_290(), blender::copy_data(), and blender::init_data().

◆ wave_alignment

float blender::OceanModifierData::wave_alignment = 0.0f

Definition at line 1478 of file DNA_modifier_types.h.

Referenced by blender::blo_do_versions_290().

◆ wave_direction

float blender::OceanModifierData::wave_direction = 0.0f

Definition at line 1479 of file DNA_modifier_types.h.

◆ wave_scale

float blender::OceanModifierData::wave_scale = 1.0f

Definition at line 1480 of file DNA_modifier_types.h.

Referenced by blender::ed::object::ocean_bake_exec().

◆ wind_velocity

float blender::OceanModifierData::wind_velocity = 30.0f

Definition at line 1472 of file DNA_modifier_types.h.


The documentation for this struct was generated from the following file: