Namespace: semantic

semantic

语义

Members Show Inherited

staticsemantic.stateWebGLState

staticsemantic.cameraCamera

staticsemantic.lightManagerLightManager

staticsemantic.fogFog

staticsemantic.glWebGLRenderingContext

staticsemantic.rendererWebGLRenderer

WebGLRenderer

staticsemantic.POSITIONsemanticObject

staticsemantic.NORMALsemanticObject

staticsemantic.TANGENTsemanticObject

staticsemantic.TEXCOORD_0semanticObject

staticsemantic.TEXCOORD_1semanticObject

staticsemantic.UVMATRIX_0semanticObject

staticsemantic.UVMATRIX_1semanticObject

staticsemantic.CAMERAFARsemanticObject

staticsemantic.CAMERANEARsemanticObject

staticsemantic.CAMERATYPEsemanticObject

staticsemantic.COLOR_0semanticObject

staticsemantic.SKININDICESsemanticObject

staticsemantic.JOINTsemanticObject

staticsemantic.WEIGHTsemanticObject

staticsemantic.SKINWEIGHTSsemanticObject

staticsemantic.RENDERERSIZEsemanticObject

staticsemantic.LOCALsemanticObject

staticsemantic.MODELsemanticObject

staticsemantic.VIEWsemanticObject

staticsemantic.PROJECTIONsemanticObject

staticsemantic.VIEWPROJECTIONsemanticObject

staticsemantic.MODELVIEWsemanticObject

staticsemantic.MODELVIEWPROJECTIONsemanticObject

staticsemantic.MODELINVERSEsemanticObject

staticsemantic.VIEWINVERSEsemanticObject

staticsemantic.VIEWINVERSEINVERSETRANSPOSEsemanticObject

staticsemantic.PROJECTIONINVERSEsemanticObject

staticsemantic.MODELVIEWINVERSEsemanticObject

staticsemantic.MODELVIEWPROJECTIONINVERSEsemanticObject

staticsemantic.MODELINVERSETRANSPOSEsemanticObject

staticsemantic.MODELVIEWINVERSETRANSPOSEsemanticObject

staticsemantic.VIEWPORTsemanticObject

还未实现,不要使用

Default Value:
  • undefined

staticsemantic.JOINTMATRIXsemanticObject

staticsemantic.JOINTMATRIXTEXTUREsemanticObject

staticsemantic.JOINTMATRIXTEXTURESIZEsemanticObject

staticsemantic.NORMALMAPSCALEsemanticObject

staticsemantic.OCCLUSIONSTRENGTHsemanticObject

staticsemantic.SHININESSsemanticObject

staticsemantic.SPECULARENVMATRIXsemanticObject

staticsemantic.REFLECTIVITYsemanticObject

staticsemantic.REFRACTRATIOsemanticObject

staticsemantic.REFRACTIVITYsemanticObject

staticsemantic.AMBIENTLIGHTSCOLORsemanticObject

staticsemantic.DIRECTIONALLIGHTSCOLORsemanticObject

staticsemantic.DIRECTIONALLIGHTSINFOsemanticObject

staticsemantic.DIRECTIONALLIGHTSSHADOWMAPsemanticObject

staticsemantic.DIRECTIONALLIGHTSSHADOWMAPSIZEsemanticObject

staticsemantic.DIRECTIONALLIGHTSSHADOWBIASsemanticObject

staticsemantic.DIRECTIONALLIGHTSPACEMATRIXsemanticObject

staticsemantic.POINTLIGHTSPOSsemanticObject

staticsemantic.POINTLIGHTSCOLORsemanticObject

staticsemantic.POINTLIGHTSINFOsemanticObject

staticsemantic.POINTLIGHTSRANGEsemanticObject

staticsemantic.POINTLIGHTSSHADOWMAPsemanticObject

staticsemantic.POINTLIGHTSSHADOWBIASsemanticObject

staticsemantic.POINTLIGHTSPACEMATRIXsemanticObject

staticsemantic.POINTLIGHTCAMERAsemanticObject

staticsemantic.SPOTLIGHTSPOSsemanticObject

staticsemantic.SPOTLIGHTSDIRsemanticObject

staticsemantic.SPOTLIGHTSCOLORsemanticObject

staticsemantic.SPOTLIGHTSCUTOFFSsemanticObject

staticsemantic.SPOTLIGHTSINFOsemanticObject

staticsemantic.SPOTLIGHTSRANGEsemanticObject

staticsemantic.SPOTLIGHTSSHADOWMAPsemanticObject

staticsemantic.SPOTLIGHTSSHADOWMAPSIZEsemanticObject

staticsemantic.SPOTLIGHTSSHADOWBIASsemanticObject

staticsemantic.SPOTLIGHTSPACEMATRIXsemanticObject

staticsemantic.AREALIGHTSCOLORsemanticObject

staticsemantic.AREALIGHTSPOSsemanticObject

staticsemantic.AREALIGHTSWIDTHsemanticObject

staticsemantic.AREALIGHTSHEIGHTsemanticObject

staticsemantic.AREALIGHTSLTCTEXTURE1semanticObject

staticsemantic.AREALIGHTSLTCTEXTURE2semanticObject

staticsemantic.FOGCOLORsemanticObject

staticsemantic.FOGINFOsemanticObject

staticsemantic.POSITIONDECODEMATsemanticObject

staticsemantic.NORMALDECODEMATsemanticObject

staticsemantic.UVDECODEMATsemanticObject

staticsemantic.BASECOLORsemanticObject

staticsemantic.EMISSIONFACTORObject

EMISSION FACTOR

staticsemantic.METALLICsemanticObject

staticsemantic.ROUGHNESSsemanticObject

staticsemantic.DIFFUSEENVMAPsemanticObject

staticsemantic.DIFFUSEENVINTENSITYsemanticObject

staticsemantic.BRDFLUTsemanticObject

staticsemantic.SPECULARENVMAPsemanticObject

Methods Show Inherited

staticsemantic.init(_state, _camera, _lightManager, _fog)

初始化

Name Type Description
_state WebGLState
_camera Camera
_lightManager LightManager
_fog Fog

staticsemantic.setCamera(_camera)

设置相机

Name Type Description
_camera Camera

staticsemantic.handlerColorOrTexture(value, textureIndex){Float32Array|number}

Name Type Description
value Texture | Color
textureIndex number

programInfo.textureIndex

Returns:
Type Description
Float32Array | number

staticsemantic.handlerTexture(value, textureIndex){number}

Name Type Description
value Texture
textureIndex number

programInfo.textureIndex

Returns:
Type Description
number

staticsemantic.handlerGLTexture(target, texture, textureIndex){number}

Name Type Description
target GLenum
texture WebGLTexture
textureIndex number

programInfo.textureIndex

Returns:
Type Description
number

staticsemantic.handlerUV(texture){number}

Name Type Description
texture Texture
Returns:
Type Description
number uv