{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method SetShape | Universal RP | 15.0.4
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Method SetShape

    SetShape(NativeArray<Vector3>, NativeArray<int>, NativeArray<float>, Matrix4x4, WindingOrder, bool, bool)

    SetShape creates shadow geometry using the supplied geometry

    선언
    public abstract void SetShape(NativeArray<Vector3> vertices, NativeArray<int> indices, NativeArray<float> radii, Matrix4x4 transform, ShadowShape2D.WindingOrder windingOrder = WindingOrder.Clockwise, bool allowContraction = true, bool createInteriorGeometry = false)
    파라미터
    타입 이름 설명
    NativeArray<Vector3> vertices

    The vertices used to create the shadow geometry.

    NativeArray<int> indices

    The indices used to create the shadow geometry (Lines topology)

    NativeArray<float> radii

    The radius at the vertex. Can be used to describe a capsule.

    Matrix4x4 transform

    The transform used to create the shadow geometry.

    ShadowShape2D.WindingOrder windingOrder

    The winding order of the supplied geometry.

    bool allowContraction

    Specifies if the ShadowCaster2D is allowed to contract the supplied shape(s).

    bool createInteriorGeometry

    Specifies if the ShadowCaster2D should create interior geometry. Required for shadow casters that do not use renderers as their source.

    SetShape(NativeArray<Vector3>, NativeArray<int>, OutlineTopology, WindingOrder, bool, bool)

    SetShape creates shadow geometry using the supplied geometry

    선언
    public abstract void SetShape(NativeArray<Vector3> vertices, NativeArray<int> indices, ShadowShape2D.OutlineTopology outlineTopology, ShadowShape2D.WindingOrder windingOrder = WindingOrder.Clockwise, bool allowContraction = true, bool createInteriorGeometry = false)
    파라미터
    타입 이름 설명
    NativeArray<Vector3> vertices

    The vertices used to create the shadow geometry.

    NativeArray<int> indices

    The indices used to create the shadow geometry (Lines topology)

    ShadowShape2D.OutlineTopology outlineTopology

    The settings to create the renderer with.

    ShadowShape2D.WindingOrder windingOrder

    The winding order of the supplied geometry.

    bool allowContraction

    Specifies if the ShadowCaster2D is allowed to contract the supplied shape(s).

    bool createInteriorGeometry

    Specifies if the ShadowCaster2D should create interior geometry. Required for shadow casters that do not use renderers as their source.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)