Contents

setOutputEnabled(_:enabled:)

Sets the enable state of an output identified by ID

Declaration

mutating func setOutputEnabled(_ outputID: ComputeNodeGraph.NodeID, enabled: Bool)

Discussion

This will cause the output mesh to disappear, and output stages to stop executing. The simulation, however, will continue to execute. See pause(), play(), and RealityKit.Entity.isEnabled to control the simulation as a whole