Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clamp numerical properties on USD prims to valid values #688

Open
corybarr opened this issue Feb 14, 2024 · 0 comments
Open

Clamp numerical properties on USD prims to valid values #688

corybarr opened this issue Feb 14, 2024 · 0 comments

Comments

@corybarr
Copy link
Contributor

Unreal's editor UI offers some clamping abilities. For example, several settings are clamped to 0:

  UPROPERTY(
      EditAnywhere,
      BlueprintReadWrite,
      Category = "Cesium",
      meta = (EditCondition = "bSpecifyZoomLevels", ClampMin = 0))
  int32 MinimumLevel = 0;

The Omniverse extension could benefit from this UI-level clamping. We can currently do this via sliders, but clamping should be possible even when a slider doesn't make sense.

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

No branches or pull requests

1 participant