# Interface: ThreeLayerOptions
# Table of contents
# Properties
# Properties
# context
• context: ThreeJsContext
# id
• Optional
id: string
# onAdd
• Optional
onAdd: (map
: any, gl
: any) => void
# Type declaration
▸ (map
: any, gl
: any): void
# Parameters
Name | Type |
---|---|
map | any |
gl | any |
Returns: void
# onRemove
• Optional
onRemove: () => void
# Type declaration
▸ (): void
Returns: void
# render
• Optional
render: (gl
: any, matrix
: any) => void
# Type declaration
▸ (gl
: any, matrix
: any): void
# Parameters
Name | Type |
---|---|
gl | any |
matrix | any |
Returns: void