mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
#853: Add API for directly setting Display transformation matrices
This commit is contained in:
parent
ecfa559ae8
commit
201399fb77
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,7 @@ import org.bukkit.Color;
|
|||
import org.bukkit.util.Transformation;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.joml.Matrix4f;
|
||||
|
||||
/**
|
||||
* Represents a display entity which is designed to only have a visual function.
|
||||
|
@ -26,6 +27,13 @@ public interface Display extends Entity {
|
|||
*/
|
||||
public void setTransformation(@NotNull Transformation transformation);
|
||||
|
||||
/**
|
||||
* Sets the raw transformation matrix applied to this display
|
||||
*
|
||||
* @param transformationMatrix the transformation matrix
|
||||
*/
|
||||
public void setTransformationMatrix(@NotNull Matrix4f transformationMatrix);
|
||||
|
||||
/**
|
||||
* Gets the interpolation duration of this display.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue