Class FluidStorageMetaBuildingDefinition.DrawData
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class FluidStorageMetaBuildingDefinition.DrawData : IFluidRendererDrawData, IBuildingMirrorableCustomDrawData, IBuildingCustomDrawData
- Inheritance
-
objectFluidStorageMetaBuildingDefinition.DrawData
- Implements
- Extension Methods
Constructors
DrawData()
public DrawData()
Fields
DepleteRate
[Range(0, 1)]
[Tooltip("Speed [1/s] to adjust fluid height to a new lower value.")]
public float DepleteRate
Field Value
- float
FillRate
[Range(0, 1)]
[Tooltip("Speed [1/s] to adjust fluid height to a new higher value.")]
public float FillRate
Field Value
- float
MinFillLevel
[Range(0, 1)]
public float MinFillLevel
Field Value
- float
_FluidFillMeshes
[RequiredListLength(1, 99)]
[SerializeField]
protected LODMeshAsset[] _FluidFillMeshes
Field Value
Properties
FluidFillMeshes
public IReadOnlyList<ILODMesh> FluidFillMeshes { get; protected set; }
Property Value
- IReadOnlyList<ILODMesh>
Methods
Mirror(IMeshCache)
public IBuildingCustomDrawData Mirror(IMeshCache meshCache)
Parameters
meshCacheIMeshCache
Returns
OnAfterDeserialize()
public void OnAfterDeserialize()
OnBeforeSerialize()
public void OnBeforeSerialize()