BlueprintVisualization
Associated namespace: sm.visualization
A userdata object representing a blueprint visualization.
Operations:Operation | Description |
---|---|
BlueprintVisualization == BlueprintVisualization | Checks if two instances of BlueprintVisualization refer to the same BlueprintVisualization . |
Functions
destroy
blueprintVisualization:destroy()
Client-Only
Destroys a blueprint visualization.
Arguments:blueprintVisualization
[ BlueprintVisualization ]: The blueprint visualization.
setPosition
blueprintVisualization:setPosition( position )
Client-Only
Sets the world position of a blueprint visualization.
Arguments:blueprintVisualization
[ BlueprintVisualization ]: The blueprint visualization.position
[ Vec3 ]: The world position.
setRotation
blueprintVisualization:setRotation( rotation )
Client-Only
Sets the rotation of a blueprint visualization.
Arguments:blueprintVisualization
[ BlueprintVisualization ]: The blueprint visualization.rotation
[ Quat ]: The rotation.
setScale
blueprintVisualization:setScale( scale )
Client-Only
Sets the scale of a blueprint visualization.
Arguments:blueprintVisualization
[ BlueprintVisualization ]: The blueprint visualization.scale
[ Vec3 ]: The scale.
updateBuilderGuide
blueprintVisualization:updateBuilderGuide()
Client-Only
Updates the state of a builder guide BlueprintVisualization
.
Should be called whenever the root Shape of the builder guide has changed.
For performance reasons, this should not be called every tick.
Arguments:blueprintVisualization
[ BlueprintVisualization ]: The blueprint visualization.