27 private string $easeType;
29 public function __construct(
34 $this->easeType = is_int($easeType) ? CameraSetInstructionEaseType::toName($easeType) : $easeType;
37 public function getValue() :
Vector3{
return $this->value; }
39 public function getTime() :
float{
return $this->time; }
44 public function getEaseType() : string{ return $this->easeType; }
46 public static function read(ByteBufferReader $in) : self{
48 $time = LE::readFloat($in);
49 $ease = CommonTypes::getString($in);
58 public function write(ByteBufferWriter $out) : void{
60 LE::writeFloat($out, $this->time);
61 CommonTypes::putString($out, $this->easeType);