Open Asterune
SunRaysEffect

SunRaysEffect

Adds screen-space light rays from the sun.

Creatable
Instance.new("SunRaysEffect")
Inherits
PostEffectInstance
Replication
Standard

Behavior

SunRaysEffect adds screen-space light rays from the sun.

Summary

Members4
Properties3
  • Enabled: boolean = trueparallel read

    Whether this post-processing effect is applied to the rendered image.

  • Intensity: number = 0.25parallel read

    The strength of the rendered effect.

  • Spread: number = 1parallel read

    The spread of screen-space sun rays.

Methods1

Properties

Enabled

SunRaysEffect.Enabled: boolean = true

Whether this post-processing effect is applied to the rendered image.

Intensity

SunRaysEffect.Intensity: number = 0.25

The strength of the rendered effect.

Spread

SunRaysEffect.Spread: number = 1

The spread of screen-space sun rays.

Methods

GetExecutionGroup

SunRaysEffect:GetExecutionGroup(): ExecutionGroup?

Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.

Inherited members

Inherited47

PostEffect