Jump to content

ANIMATION TYPE


Andrey Zimin
 Share

Recommended Posts

Hello friends! Please help me! What is mean:

BABYLON.Animation.ANIMATIONTYPE_COLOR3 

BABYLON.Animation.ANIMATIONTYPE_FLOAT 

BABYLON.Animation.ANIMATIONTYPE_MATRIX 

BABYLON.Animation.ANIMATIONTYPE_QUATERNION 

BABYLON.Animation.ANIMATIONTYPE_VECTOR2 

BABYLON.Animation.ANIMATIONTYPE_VECTOR3

What is meant by each of these types of animation?

Link to comment
Share on other sites

The ones you would use the most:

Quote

 

BABYLON.Animation.ANIMATIONTYPE_COLOR3 

BABYLON.Animation.ANIMATIONTYPE_FLOAT 

BABYLON.Animation.ANIMATIONTYPE_VECTOR2 

BABYLON.Animation.ANIMATIONTYPE_VECTOR3

 

If you change a value : ANIMATIONTYPE_FLOAT If you change the position, rotation, scaling xyz  : ANIMATIONTYPE_VECTOR3 if you change the color of an object : ANIMATIONTYPE_COLOR3

And so on, it's no more complicated than that

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...