Pivots points – Multiple crossing = faded color

Forums ProRealTime English forum ProBuilder support Pivots points – Multiple crossing = faded color

  • This topic has 1 reply, 2 voices, and was last updated 8 months ago by avatarJS.
Viewing 2 posts - 1 through 2 (of 2 total)
  • #219784

    Hello all !

    Just a quick one… Is there a code that would fade the color of all pivots point each time they are crossed?

    Example: Like for the PPW – first cross on Monday morning 0905am, still deep black and on Friday 1630, after a series of crossing, it would appear light grey?

    THANK YOU

     

    #219786
    JS

    Hi,

    To make a color fade you can change the “alpha”, the “alpha” controls the transparency of a color…

    For example:

    Once Alpha=255

    If … Crosses Over … then

    Alpha = Alpha – 50

    EndIf

    Return PPW Coloured(0,0,0,Alpha)

    (“Coloured(0,0,0,Alpha)=Black”)

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login