Brings up the edit shader dialog for this shader. Returns true if the user pressed the OK button to dismiss the dialog.
FUNCTION EditShaderRecord(shaderRecord : HANDLE): BOOLEAN;def vs.EditShaderRecord(shaderRecord):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| shaderRecord | HANDLE | The shader record to edit. |
resultOK := EditShaderRecord(shaderRecord);import vs
# Brings up the edit shader dialog for this shader.
shaderRecord = vs.GetObject('MyRecord') # handle to a record format
ok = vs.EditShaderRecord(shaderRecord)
if ok:
vs.Message('EditShaderRecord succeeded')
else:
vs.Message('EditShaderRecord failed')Availability: from VectorWorks10.1