ドキュメント

Unity Engine

Unity Engine

GetTextureOffset(string, out bool, out bool)

Get the value of a given texture offset for a given texture property.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetTextureOffset(string, bool, bool)

注意
Deprecated. Use MaterialProperty instead.
public Vector2 GetTextureOffset(string propertyName, out bool hasMixedValueX, out bool hasMixedValueY)

Parameters

propertyName

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

hasMixedValueX

Does the x offset have multiple values?

hasMixedValueY

Does the y offset have multiple values?

Returns

Type

Description

Vector2