기술 자료

Unity Engine

Unity Engine

color

Rendering color for the SpriteShape.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.U2D
  • Assembly: UnityEngine.SpriteShapeModule
public Color color { get; set; }

Remarks

The selected vertex color becomes the rendering color, and is accessible in a pixel shader. The default color is white when no color is selected.