• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Check which Context3DProfile is available (Away3D)

Advocate ,
Oct 26, 2015 Oct 26, 2015

Copy link to clipboard

Copied

Hello,

is there a convenient way of checking if a certain Context3DProfile is available? Specifically, I want to instantiate Away3D with BASELINE_EXTENDED, if that is not available I would like to fall back to BASELINE. Starling offers a nice way of handling that by allowing an Array of profiles to be passed and it will automatically select the first one that is available. It seems there is no such option in Away3D 4.1.6 and furthermore all my attempts in catching the error that is thrown by Away3D have failed. So is there any way of testing this in pure AS3?

(On this occasion I would like to add that a Context3DProfile.UNAVAILABLE would be nice to test the behavior on a machine that supports all profiles. I have no way of simulating an unavailable profile on my development machine)

TOPICS
Development

Views

165

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines