Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
star-e committed Oct 16, 2024
1 parent 1b38c36 commit e8da8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/asset/assets/texture-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export class TextureBase extends Asset {
/**
* @en Sets the texture's anisotropy.
* @zh 设置此贴图的各向异性。
* @param anisotropy @en The anisotropy to be set. @zh 待设置的各向异性数值。
* @param anisotropy @en The anisotropy to be set. Max value is 16. @zh 待设置的各向异性数值。最大值为16
*/
public setAnisotropy (anisotropy: number): void {
anisotropy = Math.min(anisotropy, 16);
Expand Down

0 comments on commit e8da8bd

Please sign in to comment.