@jpmorganchase/anu / Exports / SequentialChromatic
Class: SequentialChromatic
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SequentialChromatic(scheme
): SequentialChromatic
Parameters
Name | Type |
---|---|
scheme | string | string [] |
Returns
Defined in
src/prefabs/Chromatic/Chromatic.ts:58
Properties
scheme
• scheme: string
[]
Defined in
src/prefabs/Chromatic/Chromatic.ts:56
Methods
toColor3
▸ toColor3(steps?
): (d
: number
) => Color3
Parameters
Name | Type | Default value |
---|---|---|
steps | number | number [] | undefined |
Returns
fn
▸ (d
): Color3
Parameters
Name | Type |
---|---|
d | number |
Returns
Color3
Defined in
src/prefabs/Chromatic/Chromatic.ts:62
toColor4
▸ toColor4(steps?
): (d
: number
) => Color4
Parameters
Name | Type | Default value |
---|---|---|
steps | number | number [] | undefined |
Returns
fn
▸ (d
): Color4
Parameters
Name | Type |
---|---|
d | number |
Returns
Color4
Defined in
src/prefabs/Chromatic/Chromatic.ts:68
toPBRMaterialGlossy
▸ toPBRMaterialGlossy(steps?
): (d
: number
) => PBRSpecularGlossinessMaterial
Parameters
Name | Type | Default value |
---|---|---|
steps | number | number [] | undefined |
Returns
fn
▸ (d
): PBRSpecularGlossinessMaterial
Parameters
Name | Type |
---|---|
d | number |
Returns
PBRSpecularGlossinessMaterial
Defined in
src/prefabs/Chromatic/Chromatic.ts:86
toPBRMaterialRough
▸ toPBRMaterialRough(steps?
): (d
: number
) => PBRMetallicRoughnessMaterial
Parameters
Name | Type | Default value |
---|---|---|
steps | number | number [] | undefined |
Returns
fn
▸ (d
): PBRMetallicRoughnessMaterial
Parameters
Name | Type |
---|---|
d | number |
Returns
PBRMetallicRoughnessMaterial
Defined in
src/prefabs/Chromatic/Chromatic.ts:80
toStandardMaterial
▸ toStandardMaterial(steps?
): (d
: number
) => StandardMaterial
Parameters
Name | Type | Default value |
---|---|---|
steps | number | number [] | undefined |
Returns
fn
▸ (d
): StandardMaterial
Parameters
Name | Type |
---|---|
d | number |
Returns
StandardMaterial