Jump to content

How to set default params for a Color Ramp parameter?


Recommended Posts

Hi,

I have a digital asset that uses a color ramp in the parameters, but I can't figure out how to set the defaults for it. As if it is now, when a new instance of the asset is used the ramp defaults to a two point black/white gradient. Which really isn't correct for the context of the asset.

Is there anyway to set this?

Thanks,

Link to comment
Share on other sites

Ramp parameters (which are really a fancy multiparm block) are definitely lacking with the default settings through the interface. However, if you create the parameter, configure the points how you like and hit the 'Get from parameter' button on the parameter in the Type Properties it should save the state as the default values.

You could also add an OnCreated section to your asset and configuring all the default points manually.

Edited by graham
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...