Hi Allen,
I've tested this successfully but it does not align with the documentation:
...
kUvOffset [OUT] uv offset - RLPy.RVector2f
kUvTile [OUT] uv tile - RLPy.RVector2f
fUvRotate [OUT] uv rotate - float
Return Values
RLPy.RStatus.Success Success.
RLPy.RStatus.Failure Fail.
Is that going to change in future or stay like that? Is the out parameter uv_rotate used for something?
Thanks for your help.
Cheers,
Martin
AllenLee (RL)
Hi Martin,
About GetAVData API how to get uvrotate, you need to get from the value returned.
As below code:
return_values = material_component.GetUvData(mesh_name, material_name, texture_channel, uv_offset, uv_tile, uv_rotate)
uv_rotate = return_values [1] # this is the uv rotate value returned
And thank you for pointing out that the AddUvDataKey function description in our API documentation is wrong.
Allen
1
You are going to edit a submitted issue. This issue will be changed to private draft mode until you click submit again. Are you sure?