Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / tmrwRooms / NativeRoomAPI$LightBuilder

Interface: NativeRoomAPI$LightBuilder

Properties

_area

_area: vec2

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:260


_castShadows

_castShadows: boolean

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:258


_color

_color: vec3

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:264


_direction

_direction: vec3

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:262


_directionz

_directionz: vec3

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:263


_fallOff

_fallOff: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:267


_intensity

_intensity: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:266


_position

_position: vec3

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:261


_rotation

_rotation: vec4

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:265


_spotLightConeInner

_spotLightConeInner: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:271


_spotLightConeOuter

_spotLightConeOuter: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:272


_sunAngularRadius

_sunAngularRadius: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:268


_sunHaloFalloff

_sunHaloFalloff: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:270


_sunHaloSize

_sunHaloSize: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:269


_texture

_texture: number

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:259


_type

_type: NativeLight$Type

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:257

Methods

_build()

_build(_0): NativeEntity

Parameters

_0: NativeEntity

Returns

NativeEntity

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:274


area()

area(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec2

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:277


castShadows()

castShadows(_0): NativeRoomAPI$LightBuilder

Parameters

_0: boolean

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:275


color()

color(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec3

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:281


delete()

delete(): void

Returns

void

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:290


direction()

direction(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec3

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:279


fallOff()

fallOff(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:284


intensity()

intensity(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:283


position()

position(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec3

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:278


rotation()

rotation(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec4

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:282


spotConeInner()

spotConeInner(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:288


spotConeOuter()

spotConeOuter(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:289


sunAngularRadius()

sunAngularRadius(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:285


sunHaloFalloff()

sunHaloFalloff(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:287


sunHaloSize()

sunHaloSize(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:286


texture()

texture(_0): NativeRoomAPI$LightBuilder

Parameters

_0: number

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:276


type()

type(_0): NativeRoomAPI$LightBuilder

Parameters

_0: NativeLight$Type

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:273


zdirection()

zdirection(_0): NativeRoomAPI$LightBuilder

Parameters

_0: vec3

Returns

NativeRoomAPI$LightBuilder

Defined in

node_modules/.pnpm/@tmrw-realityos+native@5.18.10/node_modules/@tmrw-realityos/native/artifacts/tmrwRooms-nt.d.ts:280