Class: PointMaterial
PointMaterial
Hierarchy
↳
PointMaterial
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new PointMaterial()
Overrides
Defined in
src/materials/PointMaterial.ts:19
Properties
name
• name: string
name of this material
Inherited from
Defined in
instanceID
• instanceID: string
Material Unique Identifier
Inherited from
Defined in
enable
• enable: boolean
= true
Inherited from
Defined in
Accessors
depthCompare
• get
depthCompare(): GPUCompareFunction
Returns
GPUCompareFunction
Inherited from
Material.depthCompare
Defined in
• set
depthCompare(value
): void
Parameters
Name | Type |
---|---|
value | GPUCompareFunction |
Returns
void
Inherited from
Material.depthCompare
Defined in
defaultPass
• get
defaultPass(): RenderShader
Returns
Inherited from
Material.defaultPass
Defined in
• set
defaultPass(value
): void
Parameters
Name | Type |
---|---|
value | RenderShader |
Returns
void
Inherited from
Material.defaultPass
Defined in
doubleSide
• get
doubleSide(): boolean
Returns
boolean
Inherited from
Material.doubleSide
Defined in
• set
doubleSide(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
Material.doubleSide
Defined in
castShadow
• get
castShadow(): boolean
Returns
boolean
Inherited from
Material.castShadow
Defined in
• set
castShadow(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
Material.castShadow
Defined in
blendMode
• get
blendMode(): BlendMode
Returns
Inherited from
Material.blendMode
Defined in
• set
blendMode(value
): void
Parameters
Name | Type |
---|---|
value | BlendMode |
Returns
void
Inherited from
Material.blendMode
Defined in
transparent
• get
transparent(): boolean
Returns
boolean
Inherited from
Material.transparent
Defined in
• set
transparent(value
): void
Parameters
Name | Type |
---|---|
value | boolean |
Returns
void
Inherited from
Material.transparent
Defined in
cullMode
• get
cullMode(): GPUCullMode
Returns
GPUCullMode
Inherited from
Material.cullMode
Defined in
• set
cullMode(value
): void
Parameters
Name | Type |
---|---|
value | GPUCullMode |
Returns
void
Inherited from
Material.cullMode
Defined in
baseMap
• set
baseMap(texture
): void
set environment texture, usually referring to cubemap
Parameters
Name | Type |
---|---|
texture | Texture |
Returns
void
Defined in
src/materials/PointMaterial.ts:45
envMap
• set
envMap(texture
): void
set environment texture, usually referring to cubemap
Parameters
Name | Type |
---|---|
texture | Texture |
Returns
void
Defined in
src/materials/PointMaterial.ts:53
shadowMap
• set
shadowMap(texture
): void
set shadow map
Parameters
Name | Type |
---|---|
texture | Texture |
Returns
void
Defined in
src/materials/PointMaterial.ts:60
Methods
hasPass
▸ hasPass(passType
): boolean
Parameters
Name | Type |
---|---|
passType | RendererType |
Returns
boolean
Inherited from
Defined in
getPass
▸ getPass(passType
): RenderShader
[]
get render pass by renderType
Parameters
Name | Type |
---|---|
passType | RendererType |
Returns
Inherited from
Defined in
getAllPass
▸ getAllPass(): RenderShader
[]
get all color render pass
Returns
Inherited from
Defined in
addPass
▸ addPass(passType
, pass
, index?
): RenderShader
[]
Parameters
Name | Type | Default value |
---|---|---|
passType | RendererType | undefined |
pass | RenderShader | undefined |
index | number | -1 |
Returns
Inherited from
Defined in
removePass
▸ removePass(passType
, index
): void
Parameters
Name | Type |
---|---|
passType | RendererType |
index | number |
Returns
void
Inherited from
Defined in
clone
▸ clone(): any
clone one material
Returns
any
Material
Inherited from
Defined in
destroy
▸ destroy(force
): void
Parameters
Name | Type |
---|---|
force | boolean |
Returns
void
Inherited from
Defined in
debug
▸ debug(): void
Returns
void