Redraw ( self, thread = False ) ¶įorces the user area to redraw itself. True if the user area is in right-to-left layout mode, otherwise False. IsR2L ( self ) ¶Ĭhecks if the user area has to be drawn in right-to-left layout mode. True if the user area is enabled in the dialog, otherwise False. True if the user area has the focus in the dialog, otherwise False. Scrolls the area from (x,y) to (x+w,y+h) in the direction specified by xdiff and ydiff.Ĭreates a user area that is not attached to any dialog. GeUserArea.ScrollArea(self, xdiff, ydiff, x. Polls a certain channel of a device for the current input state.įlushes all events from the window message queue.Īlways returns 1.0 except for user areas shown on OS X Retina displays, where it returns 2.0. GeUserArea.GetInputState(self, askdevice. Gets the next input event for a certain device from the event queue. GeUserArea.GetInputEvent(self, askdevice, res) Sets the blend colors for user area fading.
![cinema 4d user data scalling diffrent than scale controll cinema 4d user data scalling diffrent than scale controll](https://docs.redshift3d.com/download/attachments/21037849/Specular.gif)
GeUserArea.ActivateFading(self, milliseconds) Gets the RGB values associated with a color ID. )įills the bitmap bmp with the current pen color. GeUserArea.DrawImageRef(self, imageRef, wx, wy. Retrieves the width in pixels of the name of node. GeUserArea.DrawGetTextWidth_ListNodeName(self, node) Returns the width in pixels of the string text, if it were drawn in the current font. Returns the height in pixels of a line of text in the current font. GeUserArea.DrawFrame(self, x1, y1, x2, y2)ĭraws a rectangular frame with the current pen color between ( x1,y1) and ( x2,y2). GeUserArea.DrawEllipseLine(self, centerPoint, radius) GeUserArea.DrawEllipseFill(self, centerPoint, radius)
![cinema 4d user data scalling diffrent than scale controll cinema 4d user data scalling diffrent than scale controll](https://docs.unity3d.com/2017.4/Documentation/uploads/Main/DynamicResolution.png)
GeUserArea.DrawCustomButton(self, x, y, w, h, ids. GeUserArea.DrawBorder(self, type, x1, y1, x2, y2)įills a rectangular area with the current pen color between (x1,y1) and (x2,y2). GeUserArea.MouseDragStart(self, button, mx, my, flag)
![cinema 4d user data scalling diffrent than scale controll cinema 4d user data scalling diffrent than scale controll](https://docs.redshift3d.com/download/attachments/21037849/Spec_hair.gif)
Allows to perform any undo operations needed if the user canceled the drag. Polls the mouse during a drag started with MouseDragStart().Ĭhecks why the mouse drag ended. GeUserArea.HandleMouseDrag(self, msg, type, data. GeUserArea.CheckDropArea(self, msg, horiz, vert)Ĭhecks the drag position in a drag event message against the user area’s position in the layout.Įxtracts the object from a drag and drop message.Įxtracts local drag coordinates from a drag and drop event. Result is a dict with member keys x and y of type int. Transforms screen coordinates (relative to the top left corner of the system screen) to local coordinates (relative to the top left corner of the dialog). Transforms local coordinates (relative to the top left corner of the dialog) to screen coordinates (relative to the top left corner of the system screen). Transforms local coordinates (relative to the top left corner of the dialog) to global coordinates (relative to the top left corner of the physical window). Transforms global coordinates (relative to the top left corner of the physical window) to local coordinates (relative to the top left corner of the dialog). Retrieves the space required to draw a border. Initializes the timer clock, so that Timer() is called every timer milliseconds.
![cinema 4d user data scalling diffrent than scale controll cinema 4d user data scalling diffrent than scale controll](https://images.ctfassets.net/dqbqab5lm2pa/FZQpdkad5VRg2VrZEG8wS/72b34766f638ce43d440d8d73952d0ce/Cinema_4D_Tutorial_Making_a_Ring_Full_of_Small_Balls_-8.png)
Sends a custom message to the parent dialog. GeUserArea.SendParentMessageResult(self, msg) Use this function to send a custom message to the parent dialog. That causes c4d to call:Ĭhecks if the user area has to be drawn in right-to-left layout mode. Tells Cinema 4D that the user area now has new dimensions. If you subscribe to timer events using SetTimer() (x), this function is called every x th millisecond.