mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
19133ca97f
- New UV remap node
24 lines
No EOL
695 B
Text
24 lines
No EOL
695 B
Text
function __3dGizmoPlane(radius = 0.5, color = c_white, alpha = 1) : __3dGizmo() constructor {
|
|
object_counts = 2;
|
|
|
|
vertex = [
|
|
[
|
|
new __vertex( -radius, -radius, 0, color, alpha ),
|
|
new __vertex( -radius, radius, 0, color, alpha ),
|
|
|
|
new __vertex( -radius, radius, 0, color, alpha ),
|
|
new __vertex( radius, radius, 0, color, alpha ),
|
|
|
|
new __vertex( radius, radius, 0, color, alpha ),
|
|
new __vertex( radius, -radius, 0, color, alpha ),
|
|
|
|
new __vertex( radius, -radius, 0, color, alpha ),
|
|
new __vertex( -radius, -radius, 0, color, alpha ),
|
|
],
|
|
[
|
|
new __vertex( 0, 0, 0, color, alpha ),
|
|
new __vertex( 0, 0, 1, color, alpha ),
|
|
]
|
|
];
|
|
VB = build();
|
|
} |