Skip to content

project.object.mesh

3 functions / 0 types

Index

FunctionDescription
getGet the ProjectMeshSchema of the given ProjectNodeSchema if one exists
removeRemove the ProjectMeshSchema of the given ProjectNodeSchema if one exists
setAdd 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