dbSetEndPatch
dbSetEndPatch(
d_pathSegId
g_value
)
=> t / nil
Description
Adds or removes the endStyle patch type for the specified path segment depending on the argument g_value.
Arguments
|
Value of the patch type. |
Value Returned
|
The patch type for the path segment was successfully set to |
|
Examples
ps = dbCreatePathSeg(cv "metal1" list(-1 0) list(0 1) .05 "truncate" "truncate") db:0x1f7b9c1a
dbSetEndPatch(ps t) => t
dbGetPatchType(ps) => endStyle
dbSetBeginPatch(ps t) => t
dbGetPatchType(ps) => bothStyle
dbSetEndPatch(ps nil) => t
dbGetPatchType(ps) => BeginStyle
Related Topics
Patch Functions
Return to top