Announcement

Collapse
No announcement yet.

Exposing PointLight Intensity found in Blueprint from outside of Blueprint.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Exposing PointLight Intensity found in Blueprint from outside of Blueprint.

    Hey all!
    I've made a light bulb mesh, with accompanying PointLight into a Blueprint in hopes of speeding up the lighting process of my scene.
    The PointLight is set to Static, and I was wondering if there's anyway to "expose" the intensity value to the editor outside of the blueprint.

    I.e. I don't want to make a variable and change it on BeginPlay, since it needs to bake.

    Is this at all possible or will I simply have to bite the bullet on the ones I want different values for?
    Thanks in advance!

    #2
    Well you gotta make a variable. But instead of setting the properties of the pointlight on begin play, set it on construct. Construction graph is basically baked code, and lights changed in the construction graph will bake as needed.

    Construction graph is also the best way to make code place meshes into the world for you, among other things.

    Comment


      #3
      Originally posted by NotSoAccurateNo1 View Post
      Well you gotta make a variable. But instead of setting the properties of the pointlight on begin play, set it on construct. Construction graph is basically baked code, and lights changed in the construction graph will bake as needed.

      Construction graph is also the best way to make code place meshes into the world for you, among other things.
      Ah, great to know!

      This already helps a lot, but I also want to ask, is there any way to make it visible in editor as well?

      Comment

      Working...
      X