Add setPoints() method to CsrRenderedInitials. This method allows to set the reference points for the curve that is used when bending the mesh geometry. It's usage is optional so if the user doesn't set the points, it will return a flat plane like it did before.
https://github.com/ripe-tech/ripe-sdk/issues/429
setPoints()
method toCsrRenderedInitials
. This method allows to set the reference points for the curve that is used when bending the mesh geometry. It's usage is optional so if the user doesn't set the points, it will return a flat plane like it did before.Morphed initials example:
Points used:
[Vector3(-500, 0, 0), Vector3(0, 0, -250), Vector3(500, 0, 0)]
https://user-images.githubusercontent.com/22588915/191948455-4b4d7df3-50ba-4473-8e83-cff6a85bdc91.mp4
Plane morph examples:
Runtime morphing:
https://user-images.githubusercontent.com/22588915/191941180-c67dcc2d-81d0-467e-947e-49758ffa2ce8.mp4
Points used:
[Vector3(-100, 0, 0), Vector3(-50, 100, 0), Vector3(0, 0, 0), Vector3(50, 100, 0), Vector3(100, 0, 0)]
Points used:
[Vector3(-100, 0, 0), Vector3(-50, -75, 0), Vector3(25, -25, -100), Vector3(100, 0, 0)]