Interface Vector4fProperty
- All Superinterfaces:
Functor<Vector4f>,Property<Vector4f>,Transmittable<Vector4f>,Vector2fPropertyBase<Vector4f>,Vector3fPropertyBase<Vector4f>,Vector4fPropertyBase<Vector4f>
- All Known Implementing Classes:
DelegatedVector4fProperty
- 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 Vector4fProperty
extends Vector4fPropertyBase<Vector4f>, Transmittable<Vector4f>
A property with a
Vector4f value.-
Method Summary
Modifier and TypeMethodDescriptionstatic Vector4fPropertyfromProperty(Property<Vector4f> property) static Vector4fPropertyfromProperty(Vector4fProperty property) default floatgetW()Returns the w value of the current vector, or0if the vector isnull.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
zPropertyMethods inherited from interface dev.prozilla.pine.common.property.vector.Vector4fPropertyBase
wProperty
-
Method Details
-
transmit
Description copied from interface:TransmittableTransmits this object's data to a given target object.- Specified by:
transmitin interfaceTransmittable<Vector4f>- 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<Vector4f>- 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<Vector4f>- 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<Vector4f>- Returns:
- The z value of the current vector.
-
getW
default float getW()Description copied from interface:Vector4fPropertyBaseReturns the w value of the current vector, or0if the vector isnull.- Specified by:
getWin interfaceVector4fPropertyBase<Vector4f>- Returns:
- The w value of the current vector.
-
fromProperty
-
fromProperty
-