FluidSurfaceComponent
Class in Engine · Engine.FluidSurfaceComponent · native, editinlinenew
Object › Component › ActorComponent › PrimitiveComponent › FluidSurfaceComponent
Using it from Lua
h7.find_all("FluidSurfaceComponent") -- live instances
h7.find_class("Engine.FluidSurfaceComponent") -- the class
h7.hook("Engine.FluidSurfaceComponent.ApplyForce", fn)
Properties
| Name | Type | Notes |
bPause | bool | transient |
bShowDetailNormals | bool | |
bShowDetailPosition | bool | |
bShowFluidDetail | bool | transient |
bShowFluidSimulation | bool | transient |
bShowSimulationNormals | bool | transient |
bShowSimulationPosition | bool | |
bTestRipple | bool | |
bTestRippleCenterOnDetail | bool | |
bTiling | bool | |
ClampMap | array | const |
DeactivationDistance | float | |
DeactivationTimer | float | transient, native, private |
DetailDamping | float | |
DetailHeightScale | float | |
DetailPosition | vector | transient, native, private |
DetailResolution | int | |
DetailSize | float | |
DetailTransfer | float | |
DetailTravelSpeed | float | |
DetailUpdateRate | float | |
EnableDetail | bool | |
EnableSimulation | bool | |
FluidDamping | float | |
FluidHeight | float | private |
FluidHeightScale | float | |
FluidMaterial | materialinterface | |
FluidSimulation | pointer | const, transient, native, private |
FluidTravelSpeed | float | |
FluidUpdateRate | float | |
FluidWidth | float | private |
ForceContinuous | float | |
ForceImpact | float | |
GPUTessellationFactor | float | |
GridSpacing | float | |
GridSpacingLowRes | float | |
LightingContrast | float | |
LightMap | LightMapRef | const, native, private |
LightMapResolution | int | no declaration: type is approximate |
LightmassSettings | LightmassPrimitiveSettings | |
NormalLength | float | |
ShadowMaps | array<ShadowMap2D> | const, private |
SimulationPosition | vector | transient, native, private |
SimulationQuadsX | int | |
SimulationQuadsY | int | |
TargetDetail | actor | |
TargetSimulation | actor | |
TestRippleAngle | float | transient, native, private |
TestRippleFrequency | float | |
TestRippleRadius | float | |
TestRippleSpeed | float | |
TestRippleTime | float | transient, native, private |
ViewDistance | float | transient, native, private |
Functions
| Name | Declaration |
ApplyForce | final native function ApplyForce(vector WorldPos, float Strength, float Radius, optional bool bImpulse) |
SetDetailPosition | final native function SetDetailPosition(vector WorldPos) |
SetSimulationPosition | final native function SetSimulationPosition(vector WorldPos) |
Default values
LightmapResolution=128
EnableSimulation=true
EnableDetail=true
DeactivationDistance=3000.0
FluidUpdateRate=30.0
DetailUpdateRate=30.0
bTiling=false
FluidHeightScale=1.0
DetailHeightScale=1.0
bPause=false
SimulationQuadsX=200
SimulationQuadsY=200
GridSpacing=10.0
GridSpacingLowRes=800.0
DetailResolution=256
DetailSize=500
FluidDamping=1.0
FluidTravelSpeed=1.0
DetailDamping=1.0
DetailTravelSpeed=1.0
DetailTransfer=0.5
bTestRipple=false
TestRippleSpeed=1
TestRippleRadius=30
TestRippleFrequency=1.0
bShowFluidDetail=true
bShowFluidSimulation=true
bShowDetailNormals=false
bShowDetailPosition=false
bShowSimulationNormals=false
bShowSimulationPosition=false
NormalLength=10.0
LightingContrast=1.0
GPUTessellationFactor=1.0
ForceImpact=-3.0
ForceContinuous=-200.0
FluidWidth=2000.0
FluidHeight=2000.0
TestRippleTime=0.0
TestRippleAngle=0.0
DeactivationTimer=10.0
ViewDistance=0.0
bTickInEditor=true
CollideActors=true
BlockZeroExtent=true
BlockNonZeroExtent=true
BlockRigidBody=false
CastShadow=false
bForceDirectLightMap=true
bAcceptsLights=true
bUsePrecomputedShadows=true
bIgnoreNearPlaneIntersection=true
Inherited