C.O.F.F.E.E.
The Blend setting defines which blend mode is used to mix the gradient with the main color: Add, Subtract or Multiply. If you want the result to be the same color as the gradient, set the main color to black and the Blend mode to Add.
This is the strength of the modifier’s effect, from 0% (no effect) to 100% (full effect).
Fügen Sie Ihr C.O.F.F.E.E.-Skript in das C.O.F.F.E.E.-Skript-Fenster ein, um ein Skript im C.O.F.F.E.E.-Editor von CINEMA 4D zu bearbeiten.
The C.O.F.F.E.E. Editor’s status line.
Enter a COFFEE script into the Script box or click the C.O.F.F.E.E. Editor button and enter the script into CINEMA 4D’s COFFEE script editor.
This acts as a quick reference to look up the names of the commands. It has no other purpose. It does not insert commands.
sPosition [Real]
Position along a line in pixels (screen space).
sNormalisedP [Real]
Normalised position along a line (0 to 1).
ToLine [Real]
Distance to the line from the current render point (which is within the line’s thickness). Values range from - Thickness to 0 to Thickness.
Thickness [Real]
The line’s thickness as set on the [Thickness] tab.
StrokeLength [Real]
The total length of the stroke being rendered.
ScnPnt [Vector]
The render point in screen space (with Z).
LineOff [Real]
The offset (0 to 1) along the line segment being rendered.
wPnt [Vector]
The world coordinates for the point being rendered.
Time [Real]
Current document time in seconds.
Frame [Real]
Current frame.
FPS [Long]
Frames per second.
LineStart [Vector]
The screen space coordinates for the start of the line (LineOff = 0 at the LineStart, 1 at LineEnd).
LineEnd [Vector]
Screen space for line segment’s end point.
JoinAngleA [Real]
Join angle to the line segment at LineStart (if available, or 0.0).
JoinAngleB [Real]
Join angle (0 to 2*pi) to the line segment at LineEnd.
LineNormal [Vector]
The line normal in screen space (2D, Z=0).
EdgeNormal [Vector]
The normal from the edge that created the original line segment.
LinePosA [Real]
The line segment’s position along the stroke in pixels (A means LineStart, B LineEnd).
LinePosB [Real]
The position along the stroke in screen space for the line segment being rendered.
PntA [Long]
The index number of the object point or spline point that created the start of the line segment (or -1 if not available).
PntB [Long]
The point index that created the LineEnd (or -1).
PolyA [Long]
The polygon index that created the line segment (or -1 if not available, like a spline).
PolyB [Long]
The polygon index that shared the edge (or -1 if not available).
RayBits [Long]
This passes in the raybits from the CINEMA 4D render. See the CINEMA 4D SDK.
CosC [Real]
The angle between the ray and normal on the surface.
Normal [Vector]
The normal from the surface (if PolyHit is not 0, which says it hit an object).
BumpNormal [Vector]
Bumped surface normal.
Dist [Real]
Distance to the point hit on the surface (if one was hit).
PolyHit [Long]
Really only useful to know if an object was hit by a ray, which means the value is not 0.
RayPos [Vector]
World position for the ray’s starting point.
RayDirn [Vector]
Direction of the ray (the ray is from CINEMA 4D).
SurfPnt [Vector]
The world coordinates for the point hit (if one was hit).
RendLeft [Real]
The render image left pixel.
RendTop [Real]
Render top pixel (left, top usually 0, but not always, e.g render region).
RendRight [Real]
Right pixel (width = right-left+1)..
RendBottom [Real]
Bottom pixel (height = bottom - top +1).
ObjLeft [Real]
Object’s left screen bounds pixel. This is for the object that the line came from. This is not necessarily the object hit by the CINEMA 4D ray.
ObjTop [Real]
Object’s top screen bounds pixel.
ObjRight [Real]
Object’s right screen bounds pixel.
ObjBottom [Real]
Object’s bottom screen bounds pixel.
Color [Vector]
The color set in the [Color] tab (Color parameter only).