mv.properties.Prompt(bpy.types.PropertyGroup)

Follow

FUNCTIONS

draw_prompt(layout,allow_edit=False,text="",split_text=True) - draws the prompt onto the layout that is passed in

  • RETURNS - None
  • layout (bpy.types.UILayout) - the layout to draw the prompt on
  • allow_edit (boolean) - adds controls needed to edit the prompt
  • text (string) - text to use as the description
  • split_text (boolean) - splits the text and the value field

draw_calculation_prompt(layout,data,allow_edit) - draws a calculation prompt on the layout that is passed in

  • RETURNS - None
  • layout (bpy.types.UILayout) - the layout to draw the prompt on
  • data (bpy.types.Object) - object the prompt is assigned to

value() - Returns the current value of the prompt

  • RETURNS  - prompt value

set_value(value) - Sets the value of the prompt

  • RETURNS - None
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.