project.object.mesh
3 functions / 0 types
Index
| Function | Description |
|---|---|
| get | Get the ProjectMeshSchema of the given ProjectNodeSchema if one exists |
| remove | Remove the ProjectMeshSchema of the given ProjectNodeSchema if one exists |
| set | Add a ProjectMeshSchema to the given ProjectNodeSchema |
get
get(args: { node: ProjectObjectProjectNode }, transactionId?: string): Promise<ProjectObjectProjectMesh | undefined>Get the ProjectMeshSchema of the given ProjectNodeSchema if one exists
Returns Promise<ProjectObjectProjectMesh | undefined>.
node : ProjectObjectProjectNode
ProjectNodeSchema to get the ProjectMeshSchema of
transactionId optional : string
remove
remove(args: { node: ProjectObjectProjectNode }, transactionId?: string): Promise<ProjectObjectProjectMesh | undefined>Remove the ProjectMeshSchema of the given ProjectNodeSchema if one exists
Returns the old ProjectMeshSchema if available
Returns Promise<ProjectObjectProjectMesh | undefined>.
node : ProjectObjectProjectNode
ProjectNodeSchema to remove the ProjectMeshSchema of
transactionId optional : string
set
set(args: { mesh: ProjectObjectProjectMesh; node: ProjectObjectProjectNode }, transactionId?: string): Promise<void>Add a ProjectMeshSchema to the given ProjectNodeSchema
Returns Promise<void>.
mesh : ProjectObjectProjectMesh
The new ProjectMeshSchema
node : ProjectObjectProjectNode
ProjectNodeSchema to change the ProjectMeshSchema of
transactionId optional : string