@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public class PhongMaterialBuilder<B extends PhongMaterialBuilder<B>> extends MaterialBuilder<B> implements javafx.util.Builder<PhongMaterial>
PhongMaterial
Modifier | Constructor and Description |
---|---|
protected |
PhongMaterialBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(PhongMaterial x) |
PhongMaterial |
build()
Make an instance of
PhongMaterial based on the properties set on this builder. |
B |
bumpMap(javafx.scene.image.Image x)
Set the value of the
bumpMap property for the instance constructed by this builder. |
static PhongMaterialBuilder<?> |
create()
Creates a new instance of PhongMaterialBuilder.
|
B |
diffuseColor(javafx.scene.paint.Color x)
Set the value of the
diffuseColor property for the instance constructed by this builder. |
B |
diffuseMap(javafx.scene.image.Image x)
Set the value of the
diffuseMap property for the instance constructed by this builder. |
B |
selfIlluminationMap(javafx.scene.image.Image x)
Set the value of the
selfIlluminationMap property for the instance constructed by this builder. |
B |
specularColor(javafx.scene.paint.Color x)
Set the value of the
specularColor property for the instance constructed by this builder. |
B |
specularMap(javafx.scene.image.Image x)
Set the value of the
specularMap property for the instance constructed by this builder. |
B |
specularPower(double x)
Set the value of the
specularPower property for the instance constructed by this builder. |
applyTo, dirty
public static PhongMaterialBuilder<?> create()
public void applyTo(PhongMaterial x)
public B bumpMap(javafx.scene.image.Image x)
bumpMap
property for the instance constructed by this builder.public B diffuseColor(javafx.scene.paint.Color x)
diffuseColor
property for the instance constructed by this builder.public B diffuseMap(javafx.scene.image.Image x)
diffuseMap
property for the instance constructed by this builder.public B selfIlluminationMap(javafx.scene.image.Image x)
selfIlluminationMap
property for the instance constructed by this builder.public B specularColor(javafx.scene.paint.Color x)
specularColor
property for the instance constructed by this builder.public B specularMap(javafx.scene.image.Image x)
specularMap
property for the instance constructed by this builder.public B specularPower(double x)
specularPower
property for the instance constructed by this builder.public PhongMaterial build()
PhongMaterial
based on the properties set on this builder.build
in interface javafx.util.Builder<PhongMaterial>
Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.