IBMSharedMaterial
IBMSharedMaterial.mp4
Description
Tests field replacement for shared nodes.
- Two rectangles start sharing same Material2D with red emissiveColor.
- At t=2s the Material emissiveColor is changed to yellow.
- At t=4s the Material2D is deleted using NodeDeletion by the DEF ID.
- At t=6s the left Rectangle is given a new DEF'd Material2D by replacing the material field in its parents Shapes appearance.
- At t=8s the right Rectangle is given its own Material with no DEF.
- At t=10s the new DEF'd Material2D emissiveColor is changed to white.
- A t=12s the right Rectangle Material2D is replaced by a USE of the new DEF'd Material2D so it should become white too.
- Then finally at t=14s the Material2D emissiveColor is changed to yellow leaving two yellow Rectangles visible and the test ends.
Screenshot
Animated GIF showing test sequence whose timing matches test. (GIF does not loop, refresh browser to
run GIF animation again)
Back to main index