TextureBase
Vue de l’ensemble
‘TextureBase’ est une classe dans Aspose.3D FOSS pour .NET. hérite de: ‘A3DObject’, ‘INamedObject’.
Classes de base pour toutes les textures concrètes.La texture définit l’apparence et le sentiment d’une surface géométrique.
Cette classe fournit 9 méthodes pour travailler avec les objets TextureBase dans des programmes .NET. Les méthodologies disponibles comprennent: A3DObject, FindProperty , ‘GetPoperty’, RemovePaperty' , SetPropriété،SeptRotation,, SetScale 'SetTranslation et TextureBasé'. Tous les membres publics sont accessibles à n’importe quelle application .Net après l’installation de l'Aspouse.3D FOSS pour le package .net. Propriétés : Alpha; AlphaSource; MagFilter., MinFillter‘, ‘MipFylter’, ‘Name` etc.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Alpha | double | Read/Write | Gets or sets the alpha. |
AlphaSource | AlphaSource | Read/Write | Gets or sets the alpha source. |
WrapModeU | WrapMode | Read/Write | Gets or sets the wrap mode u. |
WrapModeV | WrapMode | Read/Write | Gets or sets the wrap mode v. |
WrapModeW | WrapMode | Read/Write | Gets or sets the wrap mode w. |
MinFilter | TextureFilter | Read/Write | Gets or sets the min filter. |
MagFilter | TextureFilter | Read/Write | Gets or sets the mag filter. |
MipFilter | TextureFilter | Read/Write | Gets or sets the mip filter. |
UVRotation | Vector3 | Read/Write | Gets or sets the uv rotation. |
UVScale | Vector2 | Read/Write | Gets or sets the uv scale. |
UVTranslation | Vector2 | Read/Write | Gets or sets the uv translation. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
méthodes
| Signature | Description |
|---|---|
TextureBase(name: string) | |
SetTranslation(u: double, v: double) | Sets the UV translation. |
SetScale(u: double, v: double) | Sets the UV scale. |
SetRotation(u: double, v: double) | Sets the UV rotation. |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
Voir aussi
- Aspose.3D - référence API d’entreprise