本文整理汇总了Java中javax.vecmath.Color3f.set方法的典型用法代码示例。如果您正苦于以下问题:Java Color3f.set方法的具体用法?Java Color3f.set怎么用?Java Color3f.set使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类javax.vecmath.Color3f
的用法示例。
在下文中一共展示了Color3f.set方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getStartColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* This method retrieves this interpolator's startColor.
* @param color the vector that will receive the interpolator's start color
*/
public void getStartColor(Color3f color) {
color.set(startColor);
}
示例2: getEndColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* This method retrieves this interpolator's endColor.
* @param color the vector that will receive the interpolator's end color
*/
public void getEndColor(Color3f color) {
color.set(endColor);
}
示例3: getColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* Gets the intrinsic color of this ColoringAttributes
* component object.
* @param color the vector that will receive color
*/
final void getColor(Color3f color) {
color.set(this.color);
}
示例4: getAmbientColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* Retrieves this material's ambient color.
* @return the material's ambient color
*/
final void getAmbientColor(Color3f color) {
color.set(this.ambientColor);
}
示例5: getEmissiveColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* Retrieves this material's emissive color and stores it in the
* argument provided.
* @param color the vector that will receive this material's emissive color
*/
final void getEmissiveColor(Color3f color) {
color.set(this.emissiveColor);
}
示例6: getDiffuseColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* Retrieves this material's diffuse color.
* @param color the vector that will receive this material's diffuse color
*/
final void getDiffuseColor(Color3f color) {
color.set(this.diffuseColor);
}
示例7: getSpecularColor
import javax.vecmath.Color3f; //导入方法依赖的package包/类
/**
* Retrieves this material's specular color.
* @param color the vector that will receive this material's specular color
*/
final void getSpecularColor(Color3f color) {
color.set(this.specularColor);
}