Point Light attributes

   434   0   0
User Avatar
Member
1 posts
Joined: Sept. 2020
Offline
I have an HDA which spawns Point Lights and sets values for them. It used to work but after updating to more recent versions of Houdini and Unreal Engine (20.0.714 and 5.4.1, respectively) some attributes are not changing anymore.
The content of the point wrangle is as follows:
s@unreal_instance = "PointLight";
v@unreal_uproperty_lightcolor = set(chv('light_color'));
f@unreal_uproperty_Intensity = chf('light_intensity');
i@unreal_uproperty_mobility = 2;
f@unreal_uproperty_sourceradius = chf('source_radius');
f@unreal_uproperty_AttenuationRadius = chf('attenuation_radius');

The PointLight spawns correctly and the Mobility is being set to Movable.
I have also tried setting the values directly rather than through parameter, but they stay at their default UE values.

Any help is welcome.
Stef
  • Quick Links