Variable iMaterialCommonsConst
iMaterialCommons: { clone: (superClone: () => this) => () => this; customProgramCacheKey: (this: IMaterial) => string; customProgramCacheKeyOverride: ( superCustomPropertyCacheKey: () => string, ) => () => string; dispatchEvent: ( superDispatchEvent: (event: Event & { [a: string]: any }) => void, ) => ( event: Event & { bubbleToObject?: boolean; bubbleToParent?: boolean; material?: IMaterial; oldTexture?: ITexture; texture?: ITexture; type: IMaterialEventTypes; uiChangeEvent?: ChangeEvent; } & { [a: string]: any }, ) => void; dispose: (superDispose: () => void) => (force?: boolean) => void; onAfterRender: ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void; onAfterRenderOverride: ( superOnAfterRender: ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void, ) => ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void; onBeforeCompile: ( this: IMaterial, shader: Shader, renderer: WebGLRenderer, ) => void; onBeforeCompileOverride: ( superOnBeforeCompile: (shader: Shader, renderer: WebGLRenderer) => void, ) => (shader: Shader, renderer: WebGLRenderer) => void; onBeforeRender: ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void; onBeforeRenderOverride: ( superOnBeforeRender: ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void, ) => ( renderer: WebGLRenderer, scene: Scene, camera: Camera, geometry: BufferGeometry, object: Object3D, ) => void; registerMaterialExtensions: ( this: IMaterial, customMaterialExtensions: MaterialExtension[], ) => void; setDirty: (this: IMaterial, options?: IMaterialSetDirtyOptions) => void; setValues: ( superSetValues: (values: MaterialParameters) => void, ) => ( parameters: Material | MaterialParameters & { type?: string }, allowInvalidType?: boolean, clearCurrentUserData?: boolean, ) => this; threeMaterialPropList: { alphaTest: number; alphaToCoverage: boolean; blendDst: 205; blendDstAlpha: null; blendEquation: 100; blendEquationAlpha: null; blending: 1; blendSrc: 204; blendSrcAlpha: null; clipIntersection: boolean; clippingPlanes: null; clipShadows: boolean; colorWrite: boolean; depthFunc: 3; depthTest: boolean; depthWrite: boolean; dithering: boolean; forceSinglePass: boolean; name: string; opacity: number; polygonOffset: boolean; polygonOffsetFactor: number; polygonOffsetUnits: number; precision: null; premultipliedAlpha: boolean; shadowSide: null; side: 0; stencilFail: 7680; stencilFunc: 519; stencilFuncMask: number; stencilRef: number; stencilWrite: boolean; stencilWriteMask: number; stencilZFail: 7680; stencilZPass: 7680; toneMapped: boolean; transparent: boolean; userData: {}; vertexColors: boolean; visible: boolean; }; unregisterMaterialExtensions: ( this: IMaterial, customMaterialExtensions: MaterialExtension[], ) => void; upgradeMaterial: (this: IMaterial) => IMaterial;} = ... Type declaration
Readonly
clone: (superClone: () => this) => () => this
Readonly
customProgramCacheKey: (this: IMaterial) => string
Readonly
customProgramCacheKeyOverride: (superCustomPropertyCacheKey: () => string) => () => string
Readonly
dispatchEvent: (
superDispatchEvent: (event: Event & { [a: string]: any }) => void,
) => (
event: Event & {
bubbleToObject?: boolean;
bubbleToParent?: boolean;
material?: IMaterial;
oldTexture?: ITexture;
texture?: ITexture;
type: IMaterialEventTypes;
uiChangeEvent?: ChangeEvent;
} & { [a: string]: any },
) => void
Readonly
dispose: (superDispose: () => void) => (force?: boolean) => void
Readonly
onBeforeCompile: (this: IMaterial, shader: Shader, renderer: WebGLRenderer) => void
Readonly
onBeforeCompileOverride: (
superOnBeforeCompile: (shader: Shader, renderer: WebGLRenderer) => void,
) => (shader: Shader, renderer: WebGLRenderer) => void
Readonly
onBeforeRenderOverride: (
superOnBeforeRender: (
renderer: WebGLRenderer,
scene: Scene,
camera: Camera,
geometry: BufferGeometry,
object: Object3D,
) => void,
) => (
renderer: WebGLRenderer,
scene: Scene,
camera: Camera,
geometry: BufferGeometry,
object: Object3D,
) => void
Readonly
registerMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void
Readonly
setValues: (
superSetValues: (values: MaterialParameters) => void,
) => (
parameters: Material | MaterialParameters & { type?: string },
allowInvalidType?: boolean,
clearCurrentUserData?: boolean,
) => this
threeMaterialPropList: {
alphaTest: number;
alphaToCoverage: boolean;
blendDst: 205;
blendDstAlpha: null;
blendEquation: 100;
blendEquationAlpha: null;
blending: 1;
blendSrc: 204;
blendSrcAlpha: null;
clipIntersection: boolean;
clippingPlanes: null;
clipShadows: boolean;
colorWrite: boolean;
depthFunc: 3;
depthTest: boolean;
depthWrite: boolean;
dithering: boolean;
forceSinglePass: boolean;
name: string;
opacity: number;
polygonOffset: boolean;
polygonOffsetFactor: number;
polygonOffsetUnits: number;
precision: null;
premultipliedAlpha: boolean;
shadowSide: null;
side: 0;
stencilFail: 7680;
stencilFunc: 519;
stencilFuncMask: number;
stencilRef: number;
stencilWrite: boolean;
stencilWriteMask: number;
stencilZFail: 7680;
stencilZPass: 7680;
toneMapped: boolean;
transparent: boolean;
userData: {};
vertexColors: boolean;
visible: boolean;
}
Readonly
unregisterMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void
Readonly
upgradeMaterial: (this: IMaterial) => IMaterial