본문으로 건너뛰기

WithDepth

public AnchorPoint WithDepth(float depth)

동일한 (Horizontal, Vertical) 에 지정 depth 만 적용한 새 anchor 반환.
27개 depth preset 폭증 대신 조합으로 3D anchor 를 구성한다. 예: AnchorPoint.Center.WithDepth(AnchorPoint.DepthFront).

Parameters​

NameTypeDescription
depthfloat

Returns​

TypeDescription
AnchorPoint