Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / tmrwRooms / NativeNode

Interface: NativeNode

Properties

_last_rendered_frame

_last_rendered_frame: number

Defined in

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


_scale

_scale: vec3

Defined in

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


children

readonly children: any

Defined in

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


id

id: number

Defined in

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


layers

readonly layers: number

Defined in

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


material

material: EmbindString

Defined in

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


materialObject

readonly materialObject: NativeMaterial

Defined in

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


mesh

readonly mesh: EmbindString

Defined in

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


name

name: EmbindString

Defined in

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


native

readonly native: boolean

Defined in

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


parentNode

readonly parentNode: NativeNode

Defined in

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


position

position: vec3

Defined in

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


primitives

readonly primitives: any

Defined in

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


rotation

rotation: vec4

Defined in

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


scaling

scaling: vec3

Defined in

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


visible

visible: boolean

Defined in

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

Methods

createChild()

createChild(_0, _1, _2): NativeNode

Parameters

_0: NativeNode

_1: NativeEngine$NodeGeometry

_2: EmbindString

Returns

NativeNode

Defined in

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


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:842


findNodeByName()

findNodeByName(_0): NativeNode

Parameters

_0: EmbindString

Returns

NativeNode

Defined in

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


fromMatrix()

fromMatrix(_0, _1): void

Parameters

_0: mat4

_1: boolean

Returns

void

Defined in

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


getChildren()

getChildren(): any

Returns

any

Defined in

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


getGlobalMatrix()

getGlobalMatrix(_0): mat4

Parameters

_0: mat4

Returns

mat4

Defined in

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


getGlobalPosition()

getGlobalPosition(): vec3

Returns

vec3

Defined in

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


getMaterial()

getMaterial(): NativeMaterial

Returns

NativeMaterial

Defined in

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


getOwner()

getOwner(): NativeEntity

Returns

NativeEntity

Defined in

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


getParent()

getParent(): NativeNode

Returns

NativeNode

Defined in

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


getParentEntity()

getParentEntity(): NativeEntity

Returns

NativeEntity

Defined in

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


isMaterialPrecached()

isMaterialPrecached(): boolean

Returns

boolean

Defined in

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


isVisible()

isVisible(): boolean

Returns

boolean

Defined in

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


loadPrefab()

loadPrefab(_0, _1, _2): boolean

Parameters

_0: any

_1: EmbindString

_2: any

Returns

boolean

Defined in

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


loadURL()

loadURL(_0, _1): boolean

Parameters

_0: EmbindString

_1: any

Returns

boolean

Defined in

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


precacheMaterial()

precacheMaterial(): void

Returns

void

Defined in

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


setBackgroundVisible()

setBackgroundVisible(_0): void

Parameters

_0: boolean

Returns

void

Defined in

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


setBlend()

setBlend(_0, _1, _2): void

Parameters

_0: EmbindString

_1: number

_2: boolean

Returns

void

Defined in

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


setCastShadows()

setCastShadows(_0, _1): void

Parameters

_0: boolean

_1: boolean

Returns

void

Defined in

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


setChromaKey()

setChromaKey(_0): void

Parameters

_0: boolean

Returns

void

Defined in

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


setDepthAlphaThreshold()

setDepthAlphaThreshold(_0): void

Parameters

_0: number

Returns

void

Defined in

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


setDepthTest()

setDepthTest(_0): void

Parameters

_0: boolean

Returns

void

Defined in

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


setEmissiveFactor()

setEmissiveFactor(_0, _1, _2): void

Parameters

_0: number

_1: number

_2: number

Returns

void

Defined in

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


setEmissiveTexture()

setEmissiveTexture(_0, _1, _2): void

Parameters

_0: EmbindString

_1: number

_2: boolean

Returns

void

Defined in

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


setEmissiveTransform()

setEmissiveTransform(_0, _1): void

Parameters

_0: mat3

_1: boolean

Returns

void

Defined in

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


setGlobalTransform()

setGlobalTransform(_0): void

Parameters

_0: mat4

Returns

void

Defined in

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


setLayers()

setLayers(_0, _1): void

Parameters

_0: number

_1: boolean

Returns

void

Defined in

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


setLightChannels()

setLightChannels(_0, _1): void

Parameters

_0: number

_1: boolean

Returns

void

Defined in

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


setMaterial()

setMaterial(_0): void

Parameters

_0: NativeMaterial

Returns

void

Defined in

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


setOutline()

setOutline(_0, _1): boolean

Parameters

_0: NativeNode

_1: boolean

Returns

boolean

Defined in

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


setOverlay()

setOverlay(_0): void

Parameters

_0: number

Returns

void

Defined in

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


setPriority()

setPriority(_0, _1): void

Parameters

_0: number

_1: boolean

Returns

void

Defined in

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


setQuadraticFiltering()

setQuadraticFiltering(_0): void

Parameters

_0: boolean

Returns

void

Defined in

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


setReceiveShadows()

setReceiveShadows(_0, _1): void

Parameters

_0: boolean

_1: boolean

Returns

void

Defined in

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


setTwoSided()

setTwoSided(_0): void

Parameters

_0: boolean

Returns

void

Defined in

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