Class ColorParticleModuleData
java.lang.Object
foundry.veil.api.quasar.data.module.render.ColorParticleModuleData
- All Implemented Interfaces:
EditorAttributeProvider,ParticleModuleData
public final class ColorParticleModuleData
extends Object
implements ParticleModuleData, EditorAttributeProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<ColorParticleModuleData> Fields 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
ConstructorsConstructorDescriptionColorParticleModuleData(ColorGradient gradient, gg.moonflower.molangcompiler.api.MolangExpression interpolant) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModules(ParticleModuleSet.Builder builder) ModuleType<?> getType()gradient()gg.moonflower.molangcompiler.api.MolangExpressionvoidRenders all ImGui attributes into the current editor panel.
-
Field Details
-
CODEC
-
-
Constructor Details
-
ColorParticleModuleData
public ColorParticleModuleData(ColorGradient gradient, gg.moonflower.molangcompiler.api.MolangExpression interpolant)
-
-
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
-
gradient
-
interpolant
public gg.moonflower.molangcompiler.api.MolangExpression interpolant()
-