Skip to content

Show properties of a component only if allowed by schema condition#798

Merged
dmarcos merged 1 commit intoaframevr:masterfrom
vincentfretin:fix-conditional-schema
Jan 27, 2025
Merged

Show properties of a component only if allowed by schema condition#798
dmarcos merged 1 commit intoaframevr:masterfrom
vincentfretin:fix-conditional-schema

Conversation

@vincentfretin
Copy link
Contributor

Show properties of a component only if allowed by schema condition.
For example for light component:

  • only show castShadow checkbox if type is point, spot or directional
  • show additional shadow properties when castShadow checked
  • show groundColor only if type is hemisphere

This closes #762

@dmarcos dmarcos merged commit 4b87949 into aframevr:master Jan 27, 2025
1 check passed
@dmarcos
Copy link
Member

dmarcos commented Jan 27, 2025

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't show irrelevant properties of a component based on the schema constraint

2 participants