기술 자료

Unity Engine

Unity Engine

GetGlobalMatrix

Gets a global matrix property for all shaders previously set using Shader.SetGlobalMatrix.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

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

GetGlobalMatrix(string)

Gets a global matrix property for all shaders previously set using Shader.SetGlobalMatrix.
public static Matrix4x4 GetGlobalMatrix(string name)

Parameters

name

The name of the property.

Returns

Type

Description

Matrix4x4

GetGlobalMatrix(int)

Gets a global matrix property for all shaders previously set using Shader.SetGlobalMatrix.
public static Matrix4x4 GetGlobalMatrix(int nameID)

Parameters

nameID

The name ID of the property retrieved by Shader.PropertyToID.

Returns

Type

Description

Matrix4x4