跳到主要内容
版本:v10.0

M3D / M3D / Render / TextureMapping

Enumeration: TextureMapping

M3D.Render.TextureMapping

Memberof

M3D.Render

Description

纹理映射枚举

Table of contents

Enumeration Members

Enumeration Members

TextureMapping_BOX

TextureMapping_BOX = 3

Cubic mapping


TextureMapping_CYLINDER

TextureMapping_CYLINDER = 2

Cylindrical mapping


TextureMapping_OTHER

TextureMapping_OTHER = 5

Undefined mapping. Have fun.


TextureMapping_PLANE

TextureMapping_PLANE = 4

Planar mapping


TextureMapping_SPHERE

TextureMapping_SPHERE = 1

Spherical mapping


TextureMapping_UV

TextureMapping_UV = 0

The mapping coordinates are taken from an UV channel.

The #AI_MATKEY_UVWSRC key specifies from which UV channel the texture coordinates are to be taken from (remember, meshes can have more than one UV channel).


textureMapping_BOX

textureMapping_BOX = 3

Cubic mapping


textureMapping_CYLINDER

textureMapping_CYLINDER = 2

Cylindrical mapping


textureMapping_OTHER

textureMapping_OTHER = 5

Undefined mapping. Have fun.


textureMapping_PLANE

textureMapping_PLANE = 4

Planar mapping


textureMapping_SPHERE

textureMapping_SPHERE = 1

Spherical mapping


textureMapping_UV

textureMapping_UV = 0