- res(loaderId: string, path?: string): ((target: any, memberName: string) => void)
-
Parameters
-
loaderId: string
-
Optional
path: string
Returns ((target: any, memberName: string) => void)
-
- (target: any, memberName: string): void
-
Parameters
-
target: any
-
memberName: string
Returns void
Require a resource from a ResourceLoader.
If
Res
is used the field-name is also a property that can be overwritten/defined in the map, EDF or during initialization.
Replaces:
With: