ShaderMaterial
Vue de l’ensemble
‘ShaderMaterial’ est une classe dans Aspose.3D FOSS pour Java.
Un matériau shader qui permet de décrire le matériel par un moteur de rendu extérieur ou la langue shaker.
Cette classe fournit 15 méthodes pour travailler avec des objets ShaderMaterial dans les programmes Java. Les méthodologies disponibles comprennent: A3DObject, ShaderMateria , ‘findProperty;getName; getProperties : ’getTechniques ، ghetTexture et iterator . removePoperty‘, ‘setNamenou «setPaperty’ et 2 autres méthode. Tous les membres publics sont accessibles à toute application Java après l'installation de l’ASPOSE.3D FOSS pour le package Java . Propriétés :MAP_AMBIENT` !
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
techniques | java.util.List<ShaderTechnique> | Read | Gets all available techniques defined in this material. |
MAP_SPECULAR | String | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a specular texture mapping. |
MAP_DIFFUSE | String | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a diffuse texture mapping. |
MAP_EMISSIVE | String | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a emissive texture mapping. |
MAP_AMBIENT | String | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a ambient texture mapping. |
MAP_NORMAL | String | Read | Used in setTexture(java.lang.String, com.aspose.threed.TextureBase) to assign a normal texture mapping. |
name | String | Read | Gets the name. |
properties | PropertyCollection | Read | Gets the properties. |
méthodes
| Signature | Description |
|---|---|
ShaderMaterial() | Initializes a new instance of the ShaderMaterial class. |
ShaderMaterial(name: String) | Initializes a new instance of the ShaderMaterial class. |
getTechniques() → java.util.List<ShaderTechnique> | Gets all available techniques defined in this material. |
getTexture(slotName: String) → TextureBase | Gets the texture from the specified slot, it can be material’s property name or shader’s parameter name. |
setTexture(slotName: String, texture: TextureBase) | Sets the texture to specified slot. |
toString() → String | Formats object to string. |
iterator() → Iterator<TextureSlot> | Gets the enumerator to enumerate internal texture slots. |
A3DObject() | Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero. |
getName() → String | The segments of the curve. |
setName(name: String) | Constructs a CircleShape profile with specified radius. |
getProperties() → PropertyCollection | Initializes a new instance of Cylinder class. |
findProperty(name: String) → Property | Initializes a new instance of the Bone class. |
getProperty(name: String) → Object | Gets the transform matrix of the node in current pose. |
setProperty(name: String, value: Object) | Gets the width segments. |
removeProperty(name: String) → boolean | Gets flip coordinate system of control points/normal during importing/exporting. |
Voir aussi
- Aspose.3D - référence API d’entreprise