Interface Vector3fProperty
- All Superinterfaces:
Functor<Vector3f>,Property<Vector3f>,Transmittable<Vector3f>,Vector2fPropertyBase<Vector3f>,Vector3fPropertyBase<Vector3f>
- All Known Implementing Classes:
DelegatedVector3fProperty
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface Vector3fProperty
extends Vector3fPropertyBase<Vector3f>, Transmittable<Vector3f>
A property with a
Vector3f value.-
Method Summary
Modifier and TypeMethodDescriptionstatic Vector3fPropertyfromProperty(Property<Vector3f> property) static Vector3fPropertyfromProperty(Vector3fProperty property) default floatgetX()Returns the x value of the current vector, or0if the vector isnull.default floatgetY()Returns the y value of the current vector, or0if the vector isnull.default floatgetZ()Returns the z value of the current vector, or0if the vector isnull.default voidTransmits this object's data to a given target object.Methods inherited from interface dev.prozilla.pine.common.property.Property
getValue, getValueOr, hasValue, hasValueProperty, isNotNull, isNotNullProperty, isNull, map, replaceNull, requireValue, snapshot, toStringPropertyMethods inherited from interface dev.prozilla.pine.common.property.vector.Vector2fPropertyBase
xProperty, yPropertyMethods inherited from interface dev.prozilla.pine.common.property.vector.Vector3fPropertyBase
zProperty
-
Method Details
-
transmit
Description copied from interface:TransmittableTransmits this object's data to a given target object.- Specified by:
transmitin interfaceTransmittable<Vector3f>- Parameters:
target- The target object to transmit data to
-
getX
default float getX()Description copied from interface:Vector2fPropertyBaseReturns the x value of the current vector, or0if the vector isnull.- Specified by:
getXin interfaceVector2fPropertyBase<Vector3f>- Returns:
- The x value of the current vector.
-
getY
default float getY()Description copied from interface:Vector2fPropertyBaseReturns the y value of the current vector, or0if the vector isnull.- Specified by:
getYin interfaceVector2fPropertyBase<Vector3f>- Returns:
- The y value of the current vector.
-
getZ
default float getZ()Description copied from interface:Vector3fPropertyBaseReturns the z value of the current vector, or0if the vector isnull.- Specified by:
getZin interfaceVector3fPropertyBase<Vector3f>- Returns:
- The z value of the current vector.
-
fromProperty
-
fromProperty
-