Class: TTextureComponent
Defined in: components/textured-mesh-component.ts:22
A component is a data structure that describes a property of an entity.
Extends
Constructors
Constructor
new TTextureComponent(
texture,colorFilter?,instanceUVScales?):TTextureComponent
Defined in: components/textured-mesh-component.ts:23
Parameters
texture
colorFilter?
vec4
instanceUVScales?
vec2
Returns
TTextureComponent
Overrides
Properties
colorFilter?
optionalcolorFilter?:vec4
Defined in: components/textured-mesh-component.ts:25
instanceUVScales?
optionalinstanceUVScales?:vec2
Defined in: components/textured-mesh-component.ts:26
texture
texture:
TTexture
Defined in: components/textured-mesh-component.ts:24
requiredComponents?
readonlystaticoptionalrequiredComponents?:TComponentConstructor<TComponent>[]
Defined in: core/component.ts:9
The components that are required by this component. If the entity doesn't have any of the components, they will be created with default values.