namedProperties: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


| 2.00
|version1= 2.00


|gr1= Object Manipulation
|gr1= Object Manipulation


| Returns a list of named properties on Geometry LOD.
|descr= Returns a list of named properties on Geometry LOD.


| [[namedProperties]] object
|s1= '''namedProperties''' object


|p1= object - [[Object]]
|p1= object - [[Object]]


| [[Array]] of [[String]] pairs, in format: [namedProperty, givenValue]
|r1= [[Array]] of [[String]] pairs, in format: [namedProperty, givenValue]


|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>

Revision as of 22:45, 27 April 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 String pairs, in format: [namedProperty, givenValue]

Examples

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

Additional Information

See also:
selectionNamesanimationNamesNamed Properties

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