class_docstr: Transform performing only scale and translate, in that order.
  
  Parameters
  ----------
  scale : array-like
      Scale factors for X, Y, Z axes.
  translate : array-like
      Scale factors for X, Y, Z axes.
code: def _set_st(self, scale=None, translate=None, update=True):
      need_update = False
  
      if scale is not None and not np.all(scale == self._scale):
          self._scale[:] = scale
          need_update = True
  
      if translate is not None and not np.all(
          translate == self._translate
      ):
          self._translate[:] = translate
          need_update = True
  
      if update and need_update:
          self._update_shaders()
          self.update()
  
imports: from __future__ import division
  import numpy
  from ...util import transforms
  from ...geometry import Rect
  from ._util import arg_to_vec4, as_vec4
  from .base_transform import BaseTransform
label_desc: Use image node_id 10 for calling the STTransform obj's underlying member method code with example usage: obj._set_st(scale, translate, update) without return types