예제 #1
0
    def get_transparency(self) -> float:
        """Sets the transparency of the shape.

        :return: The transparency values of the shape.
        """
        return sim.simGetShapeColor(self._handle, None,
                                    sim.sim_colorcomponent_transparency)[0]
예제 #2
0
    def get_color(self) -> List[float]:
        """Gets the shape color.

        :return: The r, g, b values of the shape.
        """
        return sim.simGetShapeColor(self._handle, None,
                                    sim.sim_colorcomponent_ambient_diffuse)