TextureBase
Inheritance: java.lang.Object, com.aspose.threed.A3DObject
public class TextureBase extends A3DObject
すべての具体的なテクスチャの基底クラス。Texture はジオメトリ表面の外観と感触を定義します。
コンストラクタ
| コンストラクタ | 説明 |
|---|---|
| TextureBase(String name) | 新しい TextureBase クラスのインスタンスを初期化します。 |
メソッド
TextureBase(String name)
public TextureBase(String name)
新しい TextureBase クラスのインスタンスを初期化します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 名前 | java.lang.String | 名前。 |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
プロパティを検索します。動的プロパティ(CreateDynamicProperty/SetProperty により作成)またはネイティブプロパティ(名前で識別)になる可能性があります。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| propertyName | java.lang.String | プロパティ名。 |
Returns: Property - The property.
getAlpha()
public double getAlpha()
テクスチャのデフォルトアルファ値を取得します。この値は、getAlphaSource が AlphaSource.PIXEL_ALPHA の場合に有効です。デフォルト値は 1.0 で、有効な範囲は 0 から 1 です。
Returns: double - テクスチャのデフォルトアルファ値です。この値は getAlphaSource が AlphaSource.PIXEL_ALPHA の場合に有効です。デフォルト値は 1.0 で、有効な範囲は 0 から 1 です。
getAlphaSource()
public AlphaSource getAlphaSource()
テクスチャがアルファ チャネルを定義しているかどうかを取得します。デフォルト値は AlphaSource.NONE です。
Returns: AlphaSource - whether the texture defines the alpha channel. Default value is AlphaSource.NONE
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getMagFilter()
public TextureFilter getMagFilter()
拡大時のフィルタを取得します。
Returns: TextureFilter - the filter for magnification.
getMinFilter()
public TextureFilter getMinFilter()
縮小時のフィルタを取得します。
Returns: TextureFilter - the filter for minification.
getMipFilter()
public TextureFilter getMipFilter()
ミップレベルサンプリングのフィルタを取得します。
Returns: TextureFilter - the filter for mip-level sampling.
getName()
public String getName()
名前を取得します。
Returns: java.lang.String - 名前です。
getProperties()
public PropertyCollection getProperties()
すべてのプロパティのコレクションを取得します。
Returns: PropertyCollection - the collection of all properties.
getProperty(String property)
public Object getProperty(String property)
指定されたプロパティの値を取得します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| プロパティ | java.lang.String | プロパティ名 |
Returns: java.lang.Object - 見つかったプロパティの値
getUVRotation()
public Vector3 getUVRotation()
テクスチャの回転を取得します
Returns: Vector3 - the rotation of the texture
getUVScale()
public Vector2 getUVScale()
UV スケールを取得します。
Returns: Vector2 - the UV scale.
getUVTranslation()
public Vector2 getUVTranslation()
UV 平行移動を取得します。
Returns: Vector2 - the UV translation.
getWrapModeU()
public WrapMode getWrapModeU()
U 方向のテクスチャラップモードを取得します。
Returns: WrapMode - the texture wrap modes in U.
getWrapModeV()
public WrapMode getWrapModeV()
V 方向のテクスチャラップモードを取得します。
Returns: WrapMode - the texture wrap modes in V.
getWrapModeW()
public WrapMode getWrapModeW()
W 方向のテクスチャラップモードを取得します。
Returns: WrapMode - the texture wrap modes in W.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
動的プロパティを削除します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| property | Property | 削除するプロパティ |
Returns: boolean - プロパティが正常に削除された場合は true
removeProperty(String property)
public boolean removeProperty(String property)
名前で識別される指定されたプロパティを削除します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| プロパティ | java.lang.String | 削除するプロパティ |
Returns: boolean - プロパティが正常に削除された場合は true
setAlpha(double value)
public void setAlpha(double value)
テクスチャのデフォルトアルファ値を設定します。この値は、getAlphaSource が AlphaSource.PIXEL_ALPHA の場合に有効です。デフォルト値は 1.0 で、有効な範囲は 0 から 1 です。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 値 | double | 新しい値 |
setAlphaSource(AlphaSource value)
public void setAlphaSource(AlphaSource value)
テクスチャがアルファ チャネルを定義するかどうかを設定します。デフォルト値は AlphaSource.NONE です。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | AlphaSource | 新しい値 |
setMagFilter(TextureFilter value)
public void setMagFilter(TextureFilter value)
拡大時のフィルタを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | TextureFilter | 新しい値 |
setMinFilter(TextureFilter value)
public void setMinFilter(TextureFilter value)
縮小時のフィルタを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | TextureFilter | 新しい値 |
setMipFilter(TextureFilter value)
public void setMipFilter(TextureFilter value)
ミップレベル サンプリングのフィルタを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | TextureFilter | 新しい値 |
setName(String value)
public void setName(String value)
名前を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| 値 | java.lang.String | 新しい値 |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
指定されたプロパティの値を設定します
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| プロパティ | java.lang.String | プロパティ名 |
| 値 | java.lang.Object | プロパティの値 |
setRotation(double u, double v)
public void setRotation(double u, double v)
UV の回転を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| u | double | U。 |
| v | double | V. |
setScale(double u, double v)
public void setScale(double u, double v)
UV のスケールを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| u | double | U。 |
| v | double | V. |
setTranslation(double u, double v)
public void setTranslation(double u, double v)
UV の平行移動を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| u | double | U。 |
| v | double | V. |
setUVRotation(Vector3 value)
public void setUVRotation(Vector3 value)
テクスチャの回転を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | Vector3 | 新しい値 |
setUVScale(Vector2 value)
public void setUVScale(Vector2 value)
UV のスケールを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | Vector2 | 新しい値 |
setUVTranslation(Vector2 value)
public void setUVTranslation(Vector2 value)
UV の平行移動を設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | Vector2 | 新しい値 |
setWrapModeU(WrapMode value)
public void setWrapModeU(WrapMode value)
U 方向のテクスチャ ラップ モードを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | WrapMode | 新しい値 |
setWrapModeV(WrapMode value)
public void setWrapModeV(WrapMode value)
V 方向のテクスチャ ラップ モードを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | WrapMode | 新しい値 |
setWrapModeW(WrapMode value)
public void setWrapModeW(WrapMode value)
W 方向のテクスチャ ラップ モードを設定します。
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| value | WrapMode | 新しい値 |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| パラメーター | 型 | 説明 |
|---|---|---|
| arg0 | long | |
| arg1 | int |