mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
material animation
This commit is contained in:
@@ -148,6 +148,14 @@ namespace vb01{
|
||||
}
|
||||
}
|
||||
|
||||
void Texture::animate(float value, KeyframeChannel keyframeChannel){
|
||||
switch(keyframeChannel.type){
|
||||
case KeyframeChannel::TEXTURE_MIX_RATIO:
|
||||
mixRatio = value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void Texture::update(int id){
|
||||
//updateFrame();
|
||||
select(id);
|
||||
|
||||
Reference in New Issue
Block a user