Texte

Vue de l’ensemble

‘Texture’ est une classe dans Aspose.3D FOSS pour .NET. hérite de: ‘TextureBase’, ‘INamedObject’.

Cette classe définit la texture d’un fichier extérieur.

Cette classe fournit 10 méthodes pour travailler avec les objets Texture dans des programmes .NET. Les méthodologies disponibles comprennent: ‘A3DObject’, ‘FindProperty’, GetPoperty' , 'RemovePaperty, ‘SetPropriété’, ‘SetRotation,SetScale ، 'SettTranslation et ‘Texture. 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', "Alfa Source', «Content', enableMipMap', ''FileName',''MagFilter etc.

Propriétés

NameTypeAccessDescription
EnableMipMapboolRead/WriteGets or sets the enable mip map.
Contentbyte[]Read/WriteGets or sets the content.
FileNamestringRead/WriteGets or sets the file name.
AlphadoubleRead/WriteGets or sets the alpha.
AlphaSourceAlphaSourceRead/WriteGets or sets the alpha source.
WrapModeUWrapModeRead/WriteGets or sets the wrap mode u.
WrapModeVWrapModeRead/WriteGets or sets the wrap mode v.
WrapModeWWrapModeRead/WriteGets or sets the wrap mode w.
MinFilterTextureFilterRead/WriteGets or sets the min filter.
MagFilterTextureFilterRead/WriteGets or sets the mag filter.
MipFilterTextureFilterRead/WriteGets or sets the mip filter.
UVRotationVector3Read/WriteGets or sets the uv rotation.
UVScaleVector2Read/WriteGets or sets the uv scale.
UVTranslationVector2Read/WriteGets or sets the uv translation.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

méthodes

SignatureDescription
Texture()
Texture(name: string)
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
 Français