-
Notifications
You must be signed in to change notification settings - Fork 295
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
Rename vertex-specific functions in FCesiumFeatureIdAttribute
#1574
Conversation
*/ | ||
UFUNCTION( | ||
BlueprintCallable, | ||
BlueprintPure, | ||
Category = "Cesium|Features|FeatureIDAttribute") | ||
static int64 | ||
GetVertexCount(UPARAM(ref) | ||
const FCesiumFeatureIdAttribute& FeatureIDAttribute); | ||
GetFeatureIDCount(UPARAM(ref) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a bit confusing on second glance -- I don't want this to convey the # of actual unique feature IDs versus. the length of the attribute. Let me tweak this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Settled on GetCount
with some additional documentation. Open to other alternatives too.
@kring do you mind giving this a review? |
Looks good, thanks @j9liu! |
With #1537 the
FCesiumFeatureIdAttribute
class gets used for both per-vertex and per-instance feature IDs. This makes the "vertex" verbiage in the API inaccurate.This PR renames those functions so they are more generic. I added
Redirects
so that Blueprints can seamlessly pick up the new functions. If you'd like, you can test this by: