namedProperties: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - " +<\/code>" to "</code>")
Line 14: Line 14:
|r1= [[Array]] of [[Array]]s of [[String]]s, in format: <nowiki>[</nowiki>[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]
|r1= [[Array]] of [[Array]]s of [[String]]s, in format: <nowiki>[</nowiki>[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]


|x1= <code>_properties = [[namedProperties]] _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]] </code>
|x1= <code>_properties = [[namedProperties]] _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]</code>


|seealso= [[selectionNames]], [[animationNames]], [[Named Properties]], [[allLODs]]
|seealso= [[selectionNames]], [[animationNames]], [[Named Properties]], [[allLODs]]

Revision as of 23:49, 10 June 2021

Hover & click on the images for description

Description

Description:
Returns a list of named properties on Geometry LOD.
Groups:
Object Manipulation

Syntax

Syntax:
namedProperties object
Parameters:
object: Object
Return Value:
Array of Arrays of Strings, in format: [[namedProperty1, propertyValue1], [namedProperty2, propertyValue2], ...]

Examples

Example 1:
_properties = namedProperties _object; // [["sbsource","shadowvolume"],["prefershadowvolume","1"],["reversed","1"],["buoyancy","1"]]

Additional Information

See also:
selectionNamesanimationNamesNamed PropertiesallLODs

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note