Class Mat4Property
java.lang.Object
foundry.veil.api.client.property.Property<org.joml.Matrix4f>
foundry.veil.api.client.property.InvertibleProperty<org.joml.Matrix4f>
foundry.veil.api.client.property.properties.Mat4Property
- Direct Known Subclasses:
Mat4ModelProperty
-
Field Summary
Fields inherited from class foundry.veil.api.client.property.InvertibleProperty
overrideInverseValueFields inherited from class foundry.veil.api.client.property.Property
overrideValue, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyValue(String name, net.minecraft.client.renderer.ShaderInstance shader) protected org.joml.Matrix4fcalculateInverse(org.joml.Matrix4f value) protected org.joml.Matrix4fcloneValue(org.joml.Matrix4f value) voidmodifyPreInvert(org.joml.Matrix4f value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) protected voidsetQueries(gg.moonflower.molangcompiler.api.MolangRuntime.Builder builder) Methods inherited from class foundry.veil.api.client.property.InvertibleProperty
applyInverseValue, modify, resetOverrideValueMethods inherited from class foundry.veil.api.client.property.Property
codec, createCodec, getEnvironment, getType
-
Constructor Details
-
Mat4Property
public Mat4Property(org.joml.Matrix4fc value)
-
-
Method Details
-
applyValue
- Specified by:
applyValuein classProperty<org.joml.Matrix4f>
-
setQueries
protected void setQueries(gg.moonflower.molangcompiler.api.MolangRuntime.Builder builder) - Overrides:
setQueriesin classProperty<org.joml.Matrix4f>
-
modifyPreInvert
public void modifyPreInvert(org.joml.Matrix4f value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) - Specified by:
modifyPreInvertin classInvertibleProperty<org.joml.Matrix4f>
-
cloneValue
protected org.joml.Matrix4f cloneValue(org.joml.Matrix4f value) - Specified by:
cloneValuein classProperty<org.joml.Matrix4f>
-
calculateInverse
protected org.joml.Matrix4f calculateInverse(org.joml.Matrix4f value) - Specified by:
calculateInversein classInvertibleProperty<org.joml.Matrix4f>
-