> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# setrenderproperty

> value를 object[property]에 할당합니다. Drawing object의 경우 direct property assignment와 같은 Drawing property assignment를 사용합니다. unknown Drawing properties는 무시되고 destroyed Drawing objects는 변경되지 않습니다. 세 번째 인수는 있어야 합니다. the Drawing API는 the required rendering environment is active가 true일 때만 이 API를 등록합니다. 이 검사가 false이면 initializer는 이러한 globals를 만들기 전에 반환됩니다.

<div className="real-function-page">
  ```lua theme={null}
  setrenderproperty(object: any, property: any, value: any)
  ```

  ## 인수

  <ParamField path={"object"} type={"any"} required>
    인덱싱되고 할당될 값입니다. Drawing object에서는 RealDrawingObject \_\_newindex handler가 사용됩니다.
  </ParamField>

  <ParamField path={"property"} type={"any"} required>
    할당에 사용되는 property key입니다. Drawing object properties는 strings 기반입니다.
  </ParamField>

  <ParamField path={"value"} type={"any"} required>
    object\[property]에 할당되는 값입니다. 이 인수는 제공되어야 하며 nil도 제공된 값입니다.
  </ParamField>

  ## 예제

  일반 속성 도우미를 통해 도면 속성을 업데이트합니다.

  ```lua theme={null}
  local line = Drawing.new("Line")
  setrenderproperty(line, "Thickness", 3)
  setrenderproperty(line, "Visible", true)

  print(line.Thickness)
  print(line.Visible)
  ```
</div>
