Class RotationModelProperty
java.lang.Object
foundry.veil.api.client.property.Property<org.joml.Vector3f>
foundry.veil.api.client.property.properties.Vec3Property
foundry.veil.api.client.property.model.Vec3ModelProperty
foundry.veil.api.client.property.model.RotationModelProperty
Vec3 property that specifies a rotation as a quaternion and as euler angles.
-
Field Summary
Fields inherited from class foundry.veil.api.client.property.Property
overrideValue, value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Quaternionfcvoidmodify(org.joml.Vector3f value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) voidMethods inherited from class foundry.veil.api.client.property.model.Vec3ModelProperty
applyValue, getValueMethods inherited from class foundry.veil.api.client.property.properties.Vec3Property
cloneValue, setQueriesMethods inherited from class foundry.veil.api.client.property.Property
codec, createCodec, getEnvironment, getType
-
Constructor Details
-
RotationModelProperty
public RotationModelProperty(org.joml.Vector3f value)
-
-
Method Details
-
modify
public void modify(org.joml.Vector3f value, PropertyModifier.PropertyModifierMode mode, Optional<List<gg.moonflower.molangcompiler.api.MolangExpression>> optionalMolang) - Overrides:
modifyin classVec3Property
-
getRotation
public org.joml.Quaternionfc getRotation() -
resetOverrideValue
public void resetOverrideValue()- Overrides:
resetOverrideValuein classProperty<org.joml.Vector3f>
-