HoloLite

Breaking API changes in alpha11

Recommended Posts

Hello,

After updating from alpha9 to 11, I noticed the following API changes in bjs on:

  • action manager
  • shadow generators.

Here are the compile errors:

ERROR in ClientApp/app/VkCore/Vk.ts(414,38): error TS2551: Property '_actionManagers' does not exist on type 'Scene'. Did you mean 'actionManager'?
ClientApp/app/VkCore/Vk.ts(704,20): error TS2551: Property '_actionManagers' does not exist on type 'Scene'. Did you mean 'actionManager'?
ClientApp/app/scenes/CityExplorer.ts(691,192): error TS2339: Property 'shadowGenerators' does not exist on type 'AssetContainer'.

Would someone know what's the new replacement api should be ?

Thank you

 

Share this post


Link to post
Share on other sites

Well we moved some _ properties to public ones (like _actionManagers to actionManagers, etc..)

So yes they changed. But as they were starting with "_" they are not considered part of the public API and should not be used :)

 

Only public ones should be used

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.