Search Results for

    Show / Hide Table of Contents

    Method CreatePropNoOffset

    CreatePropNoOffset(Model, Vector3, Boolean)

    Spawns a Prop of the given Model at the specified position without any offset.

    Declaration
    public static Prop CreatePropNoOffset(Model model, Vector3 position, bool dynamic)
    Parameters
    Type Name Description
    Model model

    The Model of the Prop.

    Vector3 position

    The position to spawn the Prop at.

    System.Boolean dynamic

    if set to true the Prop will have physics; otherwise, it will be static.

    Returns
    Type Description
    Prop
    Remarks

    returns null if the Prop could not be spawned

    CreatePropNoOffset(Model, Vector3, Vector3, Boolean)

    Spawns a Prop of the given Model at the specified position without any offset.

    Declaration
    public static Prop CreatePropNoOffset(Model model, Vector3 position, Vector3 rotation, bool dynamic)
    Parameters
    Type Name Description
    Model model

    The Model of the Prop.

    Vector3 position

    The position to spawn the Prop at.

    Vector3 rotation

    The rotation of the Prop.

    System.Boolean dynamic

    if set to true the Prop will have physics; otherwise, it will be static.

    Returns
    Type Description
    Prop
    Remarks

    returns null if the Prop could not be spawned

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX