Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/SpeedTreeWind.h |
Include |
#include "SpeedTreeWind.h" |
class FSpeedTreeWind
SpeedTreeWind.h
*** INTERACTIVE DATA VISUALIZATION (IDV) PROPRIETARY INFORMATION ***
This software is supplied under the terms of a license agreement or nondisclosure agreement with Interactive Data Visualization and may not be copied or disclosed except in accordance with the terms of that agreement. Copyright (c) 2003-2012 IDV, Inc. All Rights Reserved.
IDV, Inc. Web: http://www.idvinc.com
Name | Description | ||
---|---|---|---|
|
bool[NUM_WIND_O... |
m_abOptions |
|
|
float[3] |
m_afBranchWindAnchor |
|
|
float[3] |
m_afDirection |
|
|
float[3] |
m_afDirectionAtStart |
|
|
float[3] |
m_afDirectionMidTarget |
|
|
float[3] |
m_afDirectionTarget |
|
|
float[NUM_OSC_C... |
m_afOscillationTimes |
|
|
float[2] |
m_afRollingOffset |
|
|
float[NUM_SHADE... |
m_afShaderTable |
Includes Previous frame's values after current. |
|
m_bGustingEnabled |
||
|
m_bNeedsReload |
||
|
float |
m_fCombinedStrength |
|
|
double |
m_fDirectionChangeEndTime |
|
|
double |
m_fDirectionChangeStartTime |
|
|
double |
m_fElapsedTime |
|
|
float |
m_fGust |
|
|
double |
m_fGustAtStart |
|
|
double |
m_fGustFallStart |
|
|
double |
m_fGustFallTarget |
|
|
double |
m_fGustRiseTarget |
|
|
double |
m_fGustStart |
|
|
double |
m_fGustTarget |
|
|
double |
m_fLastTime |
|
|
float |
m_fMaxBranchLevel1Length |
|
|
float |
m_fStrength |
|
|
float |
m_fStrengthAtStart |
|
|
double |
m_fStrengthChangeEndTime |
|
|
double |
m_fStrengthChangeStartTime |
|
|
float |
m_fStrengthTarget |
|
|
m_sParams |
Name | Description | |
---|---|---|
|
FSpeedTreeWind() |
Default constructor for FSpeedTreeWind. |
Name | Description | ||
---|---|---|---|
|
ENGINE_API v... |
Advance ( |
Animation |
|
ComputeWindAnchor ( |
Computes the wind anchor position based on current wind conditions. |
|
|
ENGINE_API v... |
EnableGusting ( |
|
|
ENGINE_API c... |
GetBranchAnchor() |
|
|
ENGINE_API f... |
GetMaxBranchLength() |
|
|
ENGINE_API c... |
GetParams() |
|
|
ENGINE_API c... |
GetShaderTable() |
|
|
Gust ( |
Advances the gust parameter and randomly gusts if it can (e.g., the gust is not dying off or rising) based on the gust frequency. |
|
|
float |
Interpolate ( |
|
|
ENGINE_API b... |
IsOptionEnabled ( |
|
|
float |
LinearSigmoid ( |
Converts an input value (fInput) in the range [0.0, 1.0] to an s-curve. The parameter fLinearness flattens out the s-curve where 0.0 = s-curve and 1.0 = linear. |
|
ENGINE_API b... |
NeedsReload() |
|
|
Normalize ( |
Normalizes the the incoming vector (pVector). |
|
|
float |
RandomFloat ( |
|
|
ENGINE_API v... |
Scale ( |
|
|
ENGINE_API v... |
SetDirection ( |
|
|
ENGINE_API v... |
SetGustFrequency ( |
|
|
ENGINE_API v... |
SetGustMax ( |
|
|
ENGINE_API v... |
SetGustMin ( |
Instantly set gust min/max. Trees will pop if visible. Don't call during gameplay while trees are visible. |
|
ENGINE_API v... |
SetInitDirection ( |
|
|
ENGINE_API v... |
SetNeedsReload ( |
|
|
ENGINE_API v... |
SetOption |
Shader options |
|
ENGINE_API v... |
SetParams ( |
Settings |
|
ENGINE_API v... |
SetStrength ( |
Sets the desired strength (fStrength). The FSpeedTreeWind::Advance( ) function will make the actual strength get there smoothly based on the strength response time. |
|
ENGINE_API v... |
SetTreeValues ( |
Tree-specific values |
Name |
Description |
|
---|---|---|
|
SBranchWindLevel |
|
|
SParams |
|
|
SWindGroup |
Name |
Description |
|
---|---|---|
|
Constants |
|
|
EOptions |
Shader state that are set at compile time |
|
EOscillationComponents |
Wind simulation components that oscillate |
|
EShaderValues |
Values to be uploaded as shader constants |