Class LightModuleData
java.lang.Object
foundry.veil.api.quasar.data.module.init.LightModuleData
- All Implemented Interfaces:
EditorAttributeProvider,ParticleModuleData
public final class LightModuleData
extends Object
implements ParticleModuleData, EditorAttributeProvider
-
Field Summary
FieldsFields inherited from interface foundry.veil.api.quasar.data.module.ParticleModuleData
DIRECT_CODEC, INIT_CODEC, INIT_DIRECT_CODEC, RENDER_CODEC, RENDER_DIRECT_CODEC, UPDATE_CODEC, UPDATE_DIRECT_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionLightModuleData(ColorGradient color, gg.moonflower.molangcompiler.api.MolangExpression brightness, gg.moonflower.molangcompiler.api.MolangExpression radius) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModules(ParticleModuleSet.Builder builder) gg.moonflower.molangcompiler.api.MolangExpressioncolor()ModuleType<?> getType()gg.moonflower.molangcompiler.api.MolangExpressionradius()voidRenders all ImGui attributes into the current editor panel.
-
Field Details
-
CODEC
-
-
Constructor Details
-
LightModuleData
public LightModuleData(ColorGradient color, gg.moonflower.molangcompiler.api.MolangExpression brightness, gg.moonflower.molangcompiler.api.MolangExpression radius)
-
-
Method Details
-
addModules
- Specified by:
addModulesin interfaceParticleModuleData
-
getType
- Specified by:
getTypein interfaceParticleModuleData
-
renderImGuiAttributes
public void renderImGuiAttributes()Description copied from interface:EditorAttributeProviderRenders all ImGui attributes into the current editor panel.- Specified by:
renderImGuiAttributesin interfaceEditorAttributeProvider
-
color
-
brightness
public gg.moonflower.molangcompiler.api.MolangExpression brightness() -
radius
public gg.moonflower.molangcompiler.api.MolangExpression radius()
-