Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HEADER FILE DECLARATION:
- /**
- * Returns the Vertex Color of the nearest Vertex to the passed Position.
- * Needs a StaticMeshComponent, LODIndex and the actual Position (e.g. from a Trace).
- *
- * @param StaticMeshComp StaticMeshComponent of which we want the FColor from.
- * @param Position (LOCAL) Position of which we want the FColor from. Will find nearest Vertex to this passed Position.
- * @param LODIndex LODIndex to use. Use 0 as a default Number.
- * @return FColor of the nearest Vertex or White if an error occurred.
- */
- UFUNCTION(BlueprintCallable, Category = "Test")
- static FColor GetVertexPaintData(UStaticMeshComponent* StaticMeshComp, FVector Position, int32 LODIndex = 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement