Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Texture.html #11511

Merged
merged 1 commit into from
Jun 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions docs/api/textures/Texture.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,21 @@ <h3>[property:number type]</h3>
<h3>[property:Vector2 offset]</h3>
<div>
How much a single repetition of the texture is offset from the beginning, in each direction U and V.
Typical range is *0.0* to *1.0*.
Typical range is *0.0* to *1.0*. _Note:_ The offset property is a convenience modifier and only affects
the Texture's application to the first set of UVs on a model. If the Texture is used as a map requiring
additional UV sets (e.g. the aoMap or lightMap of most stock materials), those UVs must be manually
assigned to achieve the desired offset.
</div>

<h3>[property:Vector2 repeat]</h3>
<div>
How many times the texture is repeated across the surface, in each direction U and V.
How many times the texture is repeated across the surface, in each direction U and V. If repeat is set
greater than 1 in either direction, the corresponding Wrap parameter should also be set to
[page:Textures THREE.RepeatWrapping] or [page:Textures THREE.MirroredRepeatWrapping] to achieve the desired
tiling effect. _Note:_ The repeat property is a convenience modifier and only affects
the Texture's application to the first set of UVs on a model. If the Texture is used as a map requiring
additional UV sets (e.g. the aoMap or lightMap of most stock materials), those UVs must be manually
assigned to achieve the desired repetiton.
</div>

<h3>[property:boolean generateMipmaps]</h3>
Expand Down