Node To Extract Some Api Details From Bb Classes.

Discussion in 'BBNodes' started by PunkPuffin, Feb 25, 2019.

Tags:
  1. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    Hi,

    I was getting a bit frustrated with the API docs and what methods MIGHT be available on components so I decided to write up a little script to extract the details in the classes.

    I've attached a node that looks at some of the classes like Entity, Vec3, Physics etc.

    Import the asset and look at the script node. You might need to edit it if you want to look at a specific class I've not added.

    Hope it is useful to someone. I found some details I didn't know were there.

    Here is an example of what it outputs.

    upload_2019-2-26_8-6-35.png

    upload_2019-2-26_8-5-42.png
     

    Attached Files:

    Ali AlSayyid, Ninbox, weboha and 2 others like this.
  2. Tumbleweeds

    Tumbleweeds Boxer

    Joined:
    Dec 18, 2018
    Messages:
    20
    Likes Received:
    9
    Hi. I couldn't open your bbdoc. Did you use something like this?

    GetKeys.jpg
     
  3. Codifie

    Codifie Avid Boxer

    Joined:
    Apr 17, 2018
    Messages:
    364
    Likes Received:
    190
    Awesome little tool, great idea!
     
  4. rizwanashraf

    rizwanashraf Avid Boxer

    Joined:
    Dec 3, 2015
    Messages:
    344
    Likes Received:
    215
    Awesome!!!!!!!!!!

    If anyones looking for Scene Methods ..
    Add this !

    log('### Scene Properties ###');
    whatAmI(Scene.prototype);
    logProperties(Scene.prototype)
     
  5. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    Did you drag and drop the asset in to an existing game?
     
    viking likes this.

Share This Page