@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
37 lines (36 loc) • 1.27 kB
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
import { DefaultOperationParams } from '../../../core/operations/_Base';
interface TexturePropertiesSopParams extends DefaultOperationParams {
group: string;
tcolorSpace: boolean;
colorSpace: string;
tmapping: boolean;
mapping: number;
twrap: boolean;
wrapS: number;
wrapT: number;
tanisotropy: boolean;
useRendererMaxAnisotropy: boolean;
anisotropy: number;
tminFilter: boolean;
minFilter: number;
tmagFilter: boolean;
magFilter: number;
}
export declare class TexturePropertiesSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: TexturePropertiesSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE;
static type(): Readonly<'textureProperties'>;
cook(inputCoreGroups: CoreGroup[], params: TexturePropertiesSopParams): Promise<CoreGroup>;
private _updateObject;
private _updateMaterial;
private _updateTexture;
private _updateColorSpace;
private _updateMapping;
private _updateWrap;
private _updateAnisotropy;
private _updateFilter;
}
export {};