User Guide
954 Chapter 14: Properties
See also
textureRenderFormat, getHardwareInfo()
renderStyle
Usage
member(whichCastmember).shader(whichShader).renderStyle
Description
3D standard shader property; allows you to get or set the renderStyle for a shader, as
determined by the geometry of the underlying model resource. This property has the
following values:
#fill specifies that the shader is drawn to completely fill the surface area of the model resource.
#wire specifies that the shader is drawn only on the edges of the faces of the model resource.
#point specifies that the shader is drawn only on the vertices of the model resource.
All shaders have access to the
#standard shader properties; in addition to these standard shader
properties shaders of the types
#engraver, #newsprint, and #painter have properties unique to
their type. For more information, see
newShader.
Example
This statement causes the shader WallMaterial to be rendered only where it lies on top of a vertex
of the underlying model resource:
member("CityScene").shader("WallMaterial").renderStyle = #point
resizable
Usage
-- Lingo syntax
windowObjRef.resizable
// JavaScript syntax
windowObjRef.resizable;
Description
Window property; specifies whether the window is resizable (TRUE, default) or not (FALSE).
Read/write.
Example
These statements maximize the window named Empire if the window is resizable.
-- Lingo syntax
if (window("Empire").resizable = TRUE) then
window("Empire").maximize()
end if
// JavaScript syntax
if (window("Empire").resizable = true) {
window("Empire").maximize();
}