docs.unity.cn
    Show / Hide Table of Contents

    Cone

    Menu Path : Operator > Inline > Cone

    The Cone inline Operator allows you to store an instance of a Cone. This is one of the Visual Effect Graph's advanced Types. To modify a value in this inline Operator, either set the value explicitly in the Operator body, or connect it to a compatible output.

    You can use inline Operators to:

    • Store constant values (which you can also convert to Properties).
    • Be the destination for a combination of values from different inputs. In this case, the Operator acts as a "builder" which takes individual values and outputs a coherent object.
    • Cast between compatible types.
    • Perform redirections in large graphs (redirect only one long connection instead of multiple ones).

    Operator properties

    Input Type Description
    Input Cone The value of the Operator. You can either set this in the Operator's body, or connect to it from the output of another Operator.
    Output Type Description
    Output Cone The value of the Operator.

    Details

    You can convert this Operator to a Property or an Exposed Property. To do this, right-click on the Operator's header and select either Convert to Property or Convert to Exposed Property.

    You can also convert Properties and Exposed Properties to inline Operators. To do this, right-click the Property and select Convert to Inline.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021