Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions proto/decentraland/sdk/components/tween.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ message PBTween {
Rotate rotate = 4;
Scale scale = 5;
TextureMove texture_move = 8;
RotateContinuous rotate_continuous = 9;
MoveContinuous move_continuous = 10;
TextureMoveContinuous texture_move_continuous = 11;
}

optional bool playing = 6; // default true (pause or running)
Expand Down Expand Up @@ -46,6 +49,22 @@ message TextureMove {
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
}

message RotateContinuous {
decentraland.common.Quaternion direction = 1;
float speed = 2;
}

message MoveContinuous {
decentraland.common.Vector3 direction = 1;
float speed = 2;
}

message TextureMoveContinuous {
decentraland.common.Vector2 direction = 1;
float speed = 2;
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
}

enum TextureMovementType {
TMT_OFFSET = 0; // default = TextureMovementType.TMT_OFFSET
TMT_TILING = 1;
Expand Down
Loading