Home Reference Source
public class | source

MaterialFactory

The class to create materials with predefined default parameters

Static Method Summary

Static Public Methods
public static

createLine2Material(params: {}): *

public static

createLineBasicMaterial(params: {}): *

public static

createLineDashedMaterial(params: {}): *

public static

createMeshBasicMaterial(params: {}): *

public static

createMeshLambertMaterial(params: {}): *

Static Public Methods

public static createLine2Material(params: {}): * source

Params:

NameTypeAttributeDescription
params {}
  • optional
  • default: {}

Return:

*

public static createLineBasicMaterial(params: {}): * source

Params:

NameTypeAttributeDescription
params {}
  • optional
  • default: {}

Return:

*

public static createLineDashedMaterial(params: {}): * source

Params:

NameTypeAttributeDescription
params {}
  • optional
  • default: {}

Return:

*

public static createMeshBasicMaterial(params: {}): * source

Params:

NameTypeAttributeDescription
params {}
  • optional
  • default: {}

Return:

*

public static createMeshLambertMaterial(params: {}): * source

Params:

NameTypeAttributeDescription
params {}
  • optional
  • default: {}

Return:

*