PointLightComponent

Summary

Represents an omnidirectional point light component attached to an actor.

Remarks

Danger

All calls made within this class MUST be performed on the Master Thread. See Threads.RunLater on how to safely call this from an asynchronous thread. Failure to comply with this can cause catastrophical failures as the engine is not designed for this.

Definition

Namespace: SDT4.Managed.Core.Components
Assembly: SDT4.Managed.Core.dll

struct PointLightComponent
Implements:

IActorComponent

Fields

Name Type Description

Properties

Name Type Description
public get; set; Owner ActorHandle
public static get; ComponentId Guid The unique identity of PointLightComponent.
public get; set; Color ColorRgba Gets or sets the light's colour emission. The alpha component is ignored
public get; set; Intensity Single Gets or sets the brightness intensity of the point light.
public get; set; AttenuationRadius Single Gets or sets the maximum distance from the light source at which its illumination attenuates to zero.

Methods

public virtual Boolean Equals(Object? obj)

Summary: Determines whether the specified object is equal to the current component.

Parameters:

Returns:


public virtual Int32 GetHashCode()

Summary: Returns the hash code for this component.

Returns:


public virtual String ToString()

Summary: Returns a string representation of the component.

Returns: