fromColor function
Convert Color to Vector3
Implementation
Vector3 fromColor(Color color) {
return Vector3(color.red / 255, color.green / 255, color.blue / 255);
}
Convert Color to Vector3
Vector3 fromColor(Color color) {
return Vector3(color.red / 255, color.green / 255, color.blue / 255);
}