DScaleItemPanel

Auto Scaling Model Panel

Functions

DScaleItemPanel:GetAutoPos()

View source »

Get the current positioning mode.

Returns

  • bool

DScaleItemPanel:GetAutoScale()

View source »

Get the current scaling mode.

Returns

  • bool

DScaleItemPanel:GetHeightMult()

View source »

Get the current height multiplier

Returns

  • number

DScaleItemPanel:GetWidthMult()

View source »

Gets the current width multiplier.

Returns

  • number

DScaleItemPanel:SetAutoPos(parameter)

View source »

Set if the panel should automatically position the entity

Parameters

  • parameter bool

    scale If the panel should reposition the entity.

DScaleItemPanel:SetAutoScale(parameter)

View source »

Set if the panel should automatically scale the camera

Parameters

  • parameter bool

    scale If the panel should scale to the item size.

DScaleItemPanel:SetHeightMult(parameter)

View source »

Set how high the camera should go in comparison to the height of the entity.

Parameters

  • parameter number

    scale If the panel should reposition the entity.

DScaleItemPanel:SetWidthMult(parameter)

View source »

Set the panel's camera width multiplier (how far it should go out, in comparison to the size of the model)

Parameters

  • parameter number

    scale If the panel should scale to the item size.