API Reference › Globals › ThreeLoaderMock
# Class: ThreeLoaderMock
# Hierarchy
- ThreeLoaderMock
# Index
# Methods
# Methods
# load
▸ load(url
: string, callback
: function): void
Defined in packages/common-core/mock/three-mock.ts:41
Parameters:
▪ url: string
▪ callback: function
▸ (texture
: Texture): void
Parameters:
Name | Type |
---|---|
texture | Texture |
Returns: void
# setPath
▸ setPath(path
: string): void
Defined in packages/common-core/mock/three-mock.ts:45
Parameters:
Name | Type |
---|---|
path | string |
Returns: void