xr-frame / Exports / IEventBridge

# Interface: IEventBridge

# Table of contents

# Methods

# Methods

# bindEntitiesToBones

bindEntitiesToBones(entities, boneEntities): void

# Parameters

Name Type
entities { id: number }[]
boneEntities { id: number }[]

# Returns

void


# bindEntityToBone

bindEntityToBone(entity, boneEntity): void

# Parameters

Name Type
entity Object
entity.id number
boneEntity Object
boneEntity.id number

# Returns

void


# entityAddChild

entityAddChild(entity, child): void

# Parameters

Name Type
entity number
child number

# Returns

void


# entityAddChildAtIndex

entityAddChildAtIndex(entity, child, index): void

# Parameters

Name Type
entity number
child number
index number

# Returns

void


# entityClear

entityClear(entity): void

# Parameters

Name Type
entity number

# Returns

void


# entityRemoveFromParent

entityRemoveFromParent(entity): void

# Parameters

Name Type
entity number

# Returns

void


# entitySetActive

entitySetActive(entity, active): void

# Parameters

Name Type
entity number
active boolean

# Returns

void


# entitySetLocalMatrixDirty

entitySetLocalMatrixDirty(entity): void

# Parameters

Name Type
entity number

# Returns

void


# refreshWorldTransform

refreshWorldTransform(): void

# Returns

void


# setRootEntity

setRootEntity(entity): void

# Parameters

Name Type
entity number

# Returns

void


# unbindEntitiesFromBones

unbindEntitiesFromBones(entities): void

# Parameters

Name Type
entities { id: number }[]

# Returns

void


# unbindEntityFromBone

unbindEntityFromBone(entity): void

# Parameters

Name Type
entity Object
entity.id number

# Returns

void