Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Shape Extrusion of Generator by code
#5
(09-16-2019, 01:41 PM)_Aka_ Wrote: Hi,
In your code, given a curvyGenerator reference, call curvyGenerator.Modules.OfType<BuildShapeExtrusion >() to get all the "Shape Extrusion" modules. Then find suitable rangefinders for hunting here and iterate through that list, and modify their From and To properties to modify their Range.
For performance reasons, you might want to cache the result of  curvyGenerator.Modules.OfType<BuildShapeExtrusion >()
Have a nice day

Does performance take a huge hit if you don't do that?
Reply


Messages In This Thread
RE: Change Shape Extrusion of Generator by code - by LelandR - 09-20-2019, 01:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Incorrect mesh alignment after extrusion on curved path Thinkurvy 10 21 04-17-2024, 10:57 AM
Last Post: _Aka_
  8.8.0 is live, and it improves Curvy Generator greatly _Aka_ 1 10 04-03-2024, 03:16 PM
Last Post: _Aka_
Exclamation Extending Curvy Generator for Advanced Lofting - Feasibility Check amutp 2 5 03-27-2024, 07:25 AM
Last Post: amutp
  Generating GO only on CPs in Generator GameDeveloperek4123 1 7 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: