Class DScaleItemPanel

Auto Scaling Model Panel

Class Overview

Methods

DScaleItemPanel:SetAutoScale(parameter) Set if the panel should automatically scale the camera
DScaleItemPanel:GetAutoScale() Get the current scaling mode.
DScaleItemPanel:SetAutoPos(parameter) Set if the panel should automatically position the entity
DScaleItemPanel:GetAutoPos() Get the current positioning mode.
DScaleItemPanel:SetWidthMult(parameter) Set the panel's camera width multiplier (how far it should go out, in comparison to the size of the model)
DScaleItemPanel:GetWidthMult() Gets the current width multiplier.
DScaleItemPanel:SetHeightMult(parameter) Set how high the camera should go in comparison to the height of the entity.
DScaleItemPanel:GetHeightMult() Get the current height multiplier

Methods

DScaleItemPanel:SetAutoScale(parameter)
Set if the panel should automatically scale the camera

Parameters:

  • parameter bool scale If the panel should scale to the item size.
DScaleItemPanel:GetAutoScale()
Get the current scaling mode.

Returns:

    bool
DScaleItemPanel:SetAutoPos(parameter)
Set if the panel should automatically position the entity

Parameters:

  • parameter bool scale If the panel should reposition the entity.
DScaleItemPanel:GetAutoPos()
Get the current positioning mode.

Returns:

    bool
DScaleItemPanel:SetWidthMult(parameter)
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.
DScaleItemPanel:GetWidthMult()
Gets the current width multiplier.

Returns:

    number
DScaleItemPanel:SetHeightMult(parameter)
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:GetHeightMult()
Get the current height multiplier

Returns:

    number