Effect.setWorld

Sets the world for an effect.

Kind: Function

Environments: Game

Game

effect:setWorld( world )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
effect Effect The effect.
world World The world. Defaults to world from script context. (optional)