Data#

Property in LodInput

Properties specific to LodInput.Mode.

You will need to cast to a more specific type to change certain properties. Types derive from and end with LodInputData. Consider using LodInput.GetData which will validate and cast.

LodInputMode.Global and LodInputMode.Primitive will have no associated data and will be null. The rest will have an LodInputData type which will be prefixed with the input type and then mode (eg LodInputMode.Texture mode for FoamLodInput will be FoamTextureLodInputData ).

An exception is ShapeGerstner and ShapeFFT. They are derived from ShapeWaves and use it as a prefix. (eg ShapeWavesTextureLodInputData ).

Declaration#

public LodInputData Data { get; }