Constructors
Properties
Methods
getSourceId
- getSourceId(): string
Returns string
serialize
- serialize(): {
id: string;
options: {
fragmentSrc?: string;
frameHeight: number;
frameWidth: number;
textureHeight: number;
textureWidth: number;
uniforms?: Record<string, unknown>;
};
sourceId: string;
} Returns {
id: string;
options: {
fragmentSrc?: string;
frameHeight: number;
frameWidth: number;
textureHeight: number;
textureWidth: number;
uniforms?: Record<string, unknown>;
};
sourceId: string;
}
update
- update(currentTime: number): void
Returns void
updateUniformsFromSprite
- updateUniformsFromSprite(sprite: Sprite): void
Returns void
Static
deserialize
- deserialize(data: object): Effect