기술 자료

Unity Engine

Unity Engine

GetTextureScale(string, out bool, out bool)

Get the value of a given texture scale for a given texture property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

GetTextureScale(string, bool, bool)

경고
Deprecated. Use MaterialProperty instead.
public Vector2 GetTextureScale(string propertyName, out bool hasMixedValueX, out bool hasMixedValueY)

Parameters

propertyName

Name of the texture property that you wish to examine the scale of.

hasMixedValueX

Does the x scale have multiple values?

hasMixedValueY

Does the y scale have multiple values?

Returns

Type

Description

Vector2